Browse Source

Renamed *Lib to *Library.

Mr.doob 13 years ago
parent
commit
5b29891f56
4 changed files with 16 additions and 16 deletions
  1. 4 4
      src/core/Geometry.js
  2. 4 4
      src/core/Object3D.js
  3. 4 4
      src/materials/Material.js
  4. 4 4
      src/textures/Texture.js

+ 4 - 4
src/core/Geometry.js

@@ -8,9 +8,9 @@
 
 THREE.Geometry = function () {
 
-	this.id = THREE.GeometryLib.length;
+	this.id = THREE.GeometryLibrary.length;
 
-	THREE.GeometryLib.push( this );
+	THREE.GeometryLibrary.push( this );
 
 	this.name = '';
 
@@ -677,10 +677,10 @@ THREE.Geometry.prototype = {
 
 	deallocate: function () {
 
-		THREE.GeometryLib[ this.id ] = null;
+		THREE.GeometryLibrary[ this.id ] = null;
 
 	}
 
 };
 
-THREE.GeometryLib = [];
+THREE.GeometryLibrary = [];

+ 4 - 4
src/core/Object3D.js

@@ -6,9 +6,9 @@
 
 THREE.Object3D = function () {
 
-	this.id = THREE.Object3DLib.length;
+	this.id = THREE.Object3DLibrary.length;
 
-	THREE.Object3DLib.push( this );
+	THREE.Object3DLibrary.push( this );
 
 	this.name = '';
 	this.properties = {};
@@ -347,7 +347,7 @@ THREE.Object3D.prototype = {
 
 	deallocate: function () {
 
-		THREE.Object3DLib[ this.id ] = null;
+		THREE.Object3DLibrary[ this.id ] = null;
 
 	}
 
@@ -356,4 +356,4 @@ THREE.Object3D.prototype = {
 THREE.Object3D.__m1 = new THREE.Matrix4();
 THREE.Object3D.defaultEulerOrder = 'XYZ',
 
-THREE.Object3DLib = [];
+THREE.Object3DLibrary = [];

+ 4 - 4
src/materials/Material.js

@@ -5,9 +5,9 @@
 
 THREE.Material = function () {
 
-	this.id = THREE.MaterialLib.length;
+	this.id = THREE.MaterialLibrary.length;
 
-	THREE.MaterialLib.push( this );
+	THREE.MaterialLibrary.push( this );
 
 	this.name = '';
 
@@ -118,8 +118,8 @@ THREE.Material.prototype.clone = function ( material ) {
 
 THREE.Material.prototype.deallocate = function () {
 
-	THREE.MaterialLib[ this.id ] = null;
+	THREE.MaterialLibrary[ this.id ] = null;
 
 };
 
-THREE.MaterialLib = [];
+THREE.MaterialLibrary = [];

+ 4 - 4
src/textures/Texture.js

@@ -6,9 +6,9 @@
 
 THREE.Texture = function ( image, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy ) {
 
-	this.id = THREE.TextureLib.length;
+	this.id = THREE.TextureLibrary.length;
 
-	THREE.TextureLib.push( this );
+	THREE.TextureLibrary.push( this );
 
 	this.image = image;
 
@@ -73,10 +73,10 @@ THREE.Texture.prototype = {
 
 	deallocate: function () {
 
-		THREE.TextureLib[ this.id ] = null;
+		THREE.TextureLibrary[ this.id ] = null;
 
 	}
 
 };
 
-THREE.TextureLib = [];
+THREE.TextureLibrary = [];