فهرست منبع

Unary operator '-' must be followed by whitespace

gonnavis 5 سال پیش
والد
کامیت
4d6c9b7816
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/math/Vector2.js

+ 1 - 1
src/math/Vector2.js

@@ -380,7 +380,7 @@ Object.assign( Vector2.prototype, {
 
 		// computes the angle in radians with respect to the positive x-axis
 
-		var angle = Math.atan2( -this.y, -this.x ) + Math.PI;
+		var angle = Math.atan2( - this.y, - this.x ) + Math.PI;
 
 		return angle;