Browse Source

Revert "Improve Quaternion closure performance"

This reverts commit 563060ae23cc8602b84588e89a49a5c17428fc6c.
Joe Fox 8 years ago
parent
commit
0d80c30b32
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/math/Quaternion.js

+ 1 - 2
src/math/Quaternion.js

@@ -351,8 +351,7 @@ Object.assign( Quaternion.prototype, {
 
 
 		// assumes direction vectors vFrom and vTo are normalized
 		// assumes direction vectors vFrom and vTo are normalized
 
 
-		var v1 = new Vector3();
-		var r;
+		var v1, r;
 
 
 		var EPS = 0.000001;
 		var EPS = 0.000001;