Browse Source

Minor ArrowHelper Change

WestLangley 12 years ago
parent
commit
5748005302
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/extras/helpers/ArrowHelper.js

+ 2 - 2
src/extras/helpers/ArrowHelper.js

@@ -56,11 +56,11 @@ THREE.ArrowHelper.prototype.setDirection = function () {
 
 
 		// dir is assumed to be normalized
 		// dir is assumed to be normalized
 
 
-		if ( dir.y > 0.999 ) {
+		if ( dir.y > 0.99999 ) {
 
 
 			this.quaternion.set( 0, 0, 0, 1 );
 			this.quaternion.set( 0, 0, 0, 1 );
 
 
-		} else if ( dir.y < - 0.999 ) {
+		} else if ( dir.y < - 0.99999 ) {
 
 
 			this.quaternion.set( 1, 0, 0, 0 );
 			this.quaternion.set( 1, 0, 0, 0 );