- Clean up

This commit is contained in:
Mr.doob
2010-09-17 02:52:29 +01:00
parent 10681d6684
commit e68109fdb2
51 changed files with 935 additions and 245 deletions
+2 -1
View File
@@ -4,9 +4,10 @@
THREE.Line = function ( geometry, material ) {
THREE.Object3D.call( this, material );
THREE.Object3D.call( this );
this.geometry = geometry;
this.material = material instanceof Array ? material : [ material ];
};
+2 -1
View File
@@ -4,9 +4,10 @@
THREE.Mesh = function ( geometry, material ) {
THREE.Object3D.call( this, material );
THREE.Object3D.call( this );
this.geometry = geometry;
this.material = material instanceof Array ? material : [ material ];
this.flipSided = false;
this.doubleSided = false;
-2
View File
@@ -11,8 +11,6 @@ THREE.Object3D = function ( material ) {
this.matrix = new THREE.Matrix4();
this.screen = new THREE.Vector3();
this.material = material instanceof Array ? material : [ material ];
this.autoUpdateMatrix = true;
this.updateMatrix = function () {
+2 -1
View File
@@ -4,8 +4,9 @@
THREE.Particle = function ( material ) {
THREE.Object3D.call( this, material );
THREE.Object3D.call( this );
this.material = material instanceof Array ? material : [ material ];
this.autoUpdateMatrix = false;
};