Jelajahi Sumber

Setting geometry.dynamic true by default.

Mr.doob 13 tahun lalu
induk
melakukan
db5645e7bf
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/core/Geometry.js

+ 1 - 1
src/core/Geometry.js

@@ -34,7 +34,7 @@ THREE.Geometry = function () {
 
 
 	this.hasTangents = false;
 	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
 
 
 };
 };