2
0
Эх сурвалжийг харах

Reverted Three.Legacy references.

Mr.doob 9 жил өмнө
parent
commit
f6faf8ac19

+ 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.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.constructor = THREE.BoxGeometry;
+
+THREE.CubeGeometry = THREE.BoxGeometry;