Browse Source

Added raycast() method to Object3D.

Mr.doob 11 years ago
parent
commit
902d8bb3af
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/core/Object3D.js

+ 6 - 0
src/core/Object3D.js

@@ -357,6 +357,12 @@ THREE.Object3D.prototype = {
 		}
 		}
 
 
 	},
 	},
+	
+	raycast: function ( raycaster, intersects ) {
+	
+		return intersects;
+	
+	},
 
 
 	traverse: function ( callback ) {
 	traverse: function ( callback ) {