Three.js mesh based on BufferGeometry not appearing
问题 I'm working on a WebGL game using Three.js & I've decided to switch to a THREE.BufferGeometry implementation from my (working) regular THREE.Geometry solution. I'm messing something up, because the mesh does not draw. I've given the relevant parts of my code below. If I switch to a regular geometry, everything works fine. It's a voxel based game and I've pre-created each face of each cube as a regular THREE.Geometry . The positionVertices function takes the vertices and faces from each face