Browse Source

small bug fix in the new Matrix4.rotationAxisAngleMatrix

astrodud 14 years ago
parent
commit
67be8c84a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/Matrix4.js

+ 1 - 1
src/core/Matrix4.js

@@ -439,7 +439,7 @@ THREE.Matrix4.rotationAxisAngleMatrix = function ( axis, angle ) {
 
 
 	var m = new THREE.Matrix4();
 	var m = new THREE.Matrix4();
 
 
-	setRotAxis( axis, angle );
+	m.setRotAxis( axis, angle );
 
 
 	return m;
 	return m;