Instanced Particle Matrix Update
Transforming hundreds of particle coordinates in a single frame.
particles.forEach((p, idx) => { tempObject.position.set(p.x, p.y, p.z); tempObject.updateMatrix(); meshRef.current.setMatrixAt(idx, tempObject.matrix); });