@@ -1,3 +1,6 @@
// DEPRECATED
-THREE.CubeGeometry = THREE.BoxGeometry;
+THREE.CubeGeometry = function(){
+ console.warn( 'DEPRECATED: THREE.CubeGeometry is deprecated. Use THREE.BoxGeometry instead.' );
+ return new THREE.BoxGeometry();
+};