Explorar el Código

InstancedMesh: frustumCulled false by default.

Mr.doob hace 5 años
padre
commit
c4384096c5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/objects/InstancedMesh.js

+ 2 - 0
src/objects/InstancedMesh.js

@@ -20,6 +20,8 @@ function InstancedMesh( geometry, material, count ) {
 
 	this.count = count;
 
+	this.frustumCulled = false;
+
 }
 
 InstancedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {