- Added Camera3D.autoUpdateMatrix

- Added Object3D.autoUpdateMatrix
This commit is contained in:
Mr.doob
2010-06-05 21:16:16 +01:00
parent 6c43304a6c
commit 06c7ec335f
10 changed files with 162 additions and 156 deletions
+2
View File
@@ -13,6 +13,8 @@ THREE.Object3D = function (material) {
this.material = material instanceof Array ? material : [material];
this.autoUpdateMatrix = true;
this.updateMatrix = function () {
this.matrix.identity();
+1
View File
@@ -7,6 +7,7 @@ THREE.Particle = function (material) {
THREE.Object3D.call(this, material);
this.size = 1;
this.autoUpdateMatrix = false;
}
THREE.Particle.prototype = new THREE.Object3D();