Преглед на файлове

Setting geometry.dynamic true by default.

Mr.doob преди 13 години
родител
ревизия
db5645e7bf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
 
 };