Browse Source

Merging with @pushmatrix's mater.

Mr.doob 14 years ago
parent
commit
55b753ed09

File diff suppressed because it is too large
+ 121 - 125
build/Three.js


+ 3 - 1
src/core/Color.js

@@ -91,6 +91,8 @@ THREE.Color.prototype = {
 
 		return new THREE.Color( this.hex );
 
-	}
+	},
+	
+	constructor : THREE.Color
 
 };

+ 3 - 1
src/core/Geometry.js

@@ -502,7 +502,9 @@ THREE.Geometry.prototype = {
 
 		}
 
-	}
+	},
+	
+	constructor : THREE.Geometry
 
 };
 

+ 3 - 1
src/core/Matrix3.js

@@ -34,6 +34,8 @@ THREE.Matrix3.prototype = {
 
 		return this;
 
-	}
+	},
+	
+	constructor : THREE.Matrix3
 
 };

+ 3 - 1
src/core/Matrix4.js

@@ -689,7 +689,9 @@ THREE.Matrix4.prototype = {
 		this.n23 = m.n23 * invScaleZ;
 		this.n33 = m.n33 * invScaleZ;
 
-	}
+	},
+	
+	constructor : THREE.Matrix4
 
 };
 

+ 3 - 1
src/core/Object3D.js

@@ -228,6 +228,8 @@ THREE.Object3D.prototype = {
 
 		}
 
-	}
+	},
+	
+	constructor : THREE.Object3D
 
 };

+ 3 - 1
src/core/Quaternion.js

@@ -182,7 +182,9 @@ THREE.Quaternion.prototype = {
 
 		return dest;
 
-	}
+	},
+	
+	constructor : THREE.Quaternion
 
 }
 

+ 3 - 1
src/core/Ray.js

@@ -180,6 +180,8 @@ THREE.Ray.prototype = {
 
 		}
 
-	}
+	},
+	
+	constructor : THREE.Ray
 
 };

+ 3 - 1
src/core/UV.js

@@ -35,6 +35,8 @@ THREE.UV.prototype = {
 
 		return this;
 
-	}
+	},
+	
+	constructor : THREE.UV
 
 };

+ 3 - 1
src/core/Vector2.js

@@ -172,6 +172,8 @@ THREE.Vector2.prototype = {
 
 		return ( ( v.x == this.x ) && ( v.y == this.y ) );
 
-	}
+	},
+	
+	constructor : THREE.Vector2
 
 };

+ 3 - 1
src/core/Vector3.js

@@ -267,6 +267,8 @@ THREE.Vector3.prototype = {
 
 		return ( this.lengthSq() < 0.0001 /* almostZero */ );
 
-	}
+	},
+	
+	constructor : THREE.Vector3
 
 };

+ 2 - 0
src/core/Vector4.js

@@ -173,5 +173,7 @@ THREE.Vector4.prototype = {
 		return this;
 
 	},
+	
+	constructor : THREE.Vector4
 
 };

+ 3 - 1
src/extras/io/BinaryLoader.js

@@ -767,6 +767,8 @@ THREE.BinaryLoader.prototype = {
 		uv.push( new THREE.UV( u4, v4 ) );
 		where.push( uv );
 
-	}
+	},
+	
+	constructor : THREE.BinaryLoader
 
 };

+ 3 - 1
src/extras/io/Loader.js

@@ -366,6 +366,8 @@ THREE.Loader.prototype = {
 
 		return material;
 
-	}
+	},
+	
+	constructor : THREE.Loader
 
 };

+ 3 - 1
src/extras/io/LoaderOld.js

@@ -1318,6 +1318,8 @@ THREE.LoaderOld.prototype = {
 		chunks.pop();
 		return chunks.join( "/" );
 		
-	}
+	},
+	
+	constructor : THREE.LoaderOld
 
 };

+ 3 - 1
src/extras/io/SceneLoader.js

@@ -763,6 +763,8 @@ THREE.SceneLoader.prototype = {
 
 		};
 
-	}
+	},
+	
+	constructor : THREE.SceneLoader
 
 };

+ 3 - 1
src/materials/Texture.js

@@ -34,7 +34,9 @@ THREE.Texture.prototype = {
 
 		return clonedTexture;
 
-	}
+	},
+	
+	constructor : THREE.Texture
 
 };
 

Some files were not shown because too many files changed in this diff