@@ -89,7 +89,7 @@
inverseMatrix.getInverse( object.matrixWorld );
- localRay.copy( raycaster.ray ).transformSelf( inverseMatrix );
+ localRay.copy( raycaster.ray ).transform( inverseMatrix );
for ( var f = 0, fl = geometry.faces.length; f < fl; f ++ ) {
@@ -131,7 +131,7 @@ THREE.Ray.prototype = {
},
- transformSelf: function ( matrix4 ) {
+ transform: function ( matrix4 ) {
this.direction = matrix4.multiplyVector3( this.direction.addSelf( this.origin ) );
this.origin = matrix4.multiplyVector3( this.origin );