소스 검색

Examples: More clean up.

Mugen87 4 년 전
부모
커밋
aaef951a4e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );