mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-22 19:36:13 +10:00
- Added Camera3D.autoUpdateMatrix
- Added Object3D.autoUpdateMatrix
This commit is contained in:
@@ -13,6 +13,8 @@ THREE.Object3D = function (material) {
|
||||
|
||||
this.material = material instanceof Array ? material : [material];
|
||||
|
||||
this.autoUpdateMatrix = true;
|
||||
|
||||
this.updateMatrix = function () {
|
||||
|
||||
this.matrix.identity();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user