Explorar el Código

Setting geometry.dynamic true by default.

Mr.doob hace 13 años
padre
commit
db5645e7bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/Geometry.js

+ 1 - 1
src/core/Geometry.js

@@ -34,7 +34,7 @@ THREE.Geometry = function () {
 
 	this.hasTangents = false;
 
-	this.dynamic = false; // unless set to true the *Arrays will be deleted once sent to a buffer
+	this.dynamic = true; // the intermediate typearrays will be deleted when set to false
 
 };