11 lines
335 B
JavaScript
11 lines
335 B
JavaScript
/**
|
|
* @author mrdoob / http://mrdoob.com/
|
|
*/
|
|
|
|
|
|
THREE.CubeGeometry = function ( width, height, depth, widthSegments, heightSegments, depthSegments ) {
|
|
|
|
THREE.warn( 'THREE.CubeGeometry has been renamed to THREE.BoxGeometry.' );
|
|
return new THREE.BoxGeometry( width, height, depth, widthSegments, heightSegments, depthSegments );
|
|
|
|
};
|