We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4188f8 commit aaef951Copy full SHA for aaef951
examples/webgl_instancing_raycast.html
@@ -45,7 +45,7 @@
45
light2.position.set( - 1, - 1.5, - 1 );
46
scene.add( light2 );
47
48
- const geometry = new THREE.IcosahedronGeometry( 0.5, 3 );
+ const geometry = new THREE.IcosahedronBufferGeometry( 0.5, 3 );
49
const material = new THREE.MeshPhongMaterial();
50
51
mesh = new THREE.InstancedMesh( geometry, material, count );
0 commit comments