diff --git a/src/Three.Legacy.js b/src/Three.Legacy.js index 38a90fe8db67534ddf291a30ef779cb8de0df552..551aaa896df862bca1cba83d981d4cfbe419fbe8 100644 --- a/src/Three.Legacy.js +++ b/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; diff --git a/src/extras/geometries/BoxGeometry.js b/src/extras/geometries/BoxGeometry.js index 51d300d265d52e55fe81826b23a9cb7a46138697..ac6fb96f84e44a0106eb9e7bc8bf609d60d922fe 100644 --- a/src/extras/geometries/BoxGeometry.js +++ b/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;