Procházet zdrojové kódy

Merge pull request #21007 from Mugen87/dev2

Examples: More clean up.
Mr.doob před 4 roky
rodič
revize
71a1a176ac
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/webgl_instancing_raycast.html

+ 1 - 1
examples/webgl_instancing_raycast.html

@@ -45,7 +45,7 @@
 				light2.position.set( - 1, - 1.5, - 1 );
 				scene.add( light2 );
 
-				const geometry = new THREE.IcosahedronGeometry( 0.5, 3 );
+				const geometry = new THREE.IcosahedronBufferGeometry( 0.5, 3 );
 				const material = new THREE.MeshPhongMaterial();
 
 				mesh = new THREE.InstancedMesh( geometry, material, count );