2
0

CubeGeometry.js 335 B

1234567891011
  1. /**
  2. * @author mrdoob / http://mrdoob.com/
  3. */
  4. THREE.CubeGeometry = function ( width, height, depth, widthSegments, heightSegments, depthSegments ) {
  5. THREE.warn( 'THREE.CubeGeometry has been renamed to THREE.BoxGeometry.' );
  6. return new THREE.BoxGeometry( width, height, depth, widthSegments, heightSegments, depthSegments );
  7. };