Pārlūkot izejas kodu

Setting geometry.dynamic true by default.

Mr.doob 13 gadi atpakaļ
vecāks
revīzija
db5645e7bf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 
 };