Browse Source

Reverted Three.Legacy references.

Mr.doob 9 years ago
parent
commit
f6faf8ac19
2 changed files with 2 additions and 3 deletions
  1. 0 3
      src/Three.Legacy.js
  2. 2 0
      src/extras/geometries/BoxGeometry.js

+ 0 - 3
src/Three.Legacy.js

@@ -792,7 +792,4 @@ THREE.CanvasRenderer = function () {
 
 
 //
 //
 
 
-THREE.Curve.Utils = THREE.CurveUtils;
-THREE.CubeGeometry = THREE.BoxGeometry;
 THREE.MeshFaceMaterial = THREE.MultiMaterial;
 THREE.MeshFaceMaterial = THREE.MultiMaterial;
-THREE.Shape.Utils = THREE.ShapeUtils;

+ 2 - 0
src/extras/geometries/BoxGeometry.js

@@ -125,3 +125,5 @@ THREE.BoxGeometry = function ( width, height, depth, widthSegments, heightSegmen
 
 
 THREE.BoxGeometry.prototype = Object.create( THREE.Geometry.prototype );
 THREE.BoxGeometry.prototype = Object.create( THREE.Geometry.prototype );
 THREE.BoxGeometry.prototype.constructor = THREE.BoxGeometry;
 THREE.BoxGeometry.prototype.constructor = THREE.BoxGeometry;
+
+THREE.CubeGeometry = THREE.BoxGeometry;