You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FIXME initial positions not working with typed array
// const positions = new Float32Array(100 * 3)
// for (let i = 0; i < 100; i += 3) {
// positions[i + 0] = this.position.x
// positions[i + 1] = this.position.y
// positions[i + 2] = this.position.z
// }
// FIXME initial positions works only with Vector3 array
constpositions=[]
for(leti=0;i<100;i+=1){
positions.push(this.position.clone())
}
The loop with the Float32Array leads to the lines initially glitched, but the loop with the normal Array works fine.
The text was updated successfully, but these errors were encountered:
trusktr
changed the title
setPoints with a typed array working, only regular array workssetPoints with a typed array working, only regular array works
Jan 13, 2023
trusktr
changed the title
setPoints with a typed array working, only regular array workssetPoints with a typed array not working in birds demo, only regular array works
Jan 16, 2023
See these lines:
three-meshline/demo/birds.html
Lines 76 to 87 in eba9c4a
The loop with the
Float32Array
leads to the lines initially glitched, but the loop with the normalArray
works fine.The text was updated successfully, but these errors were encountered: