فهرست منبع

fixed scaleTime

ncannasse 7 سال پیش
والد
کامیت
72a8c811f2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      hxd/Math.hx

+ 1 - 1
hxd/Math.hx

@@ -65,7 +65,7 @@ class Math {
 	}
 
 	public static inline function scaleTime( v : Float, et : Float ) {
-		return std.Math.pow(v,et / hxd.Timer.wantedFPS) * hxd.Timer.wantedFPS;
+		return std.Math.pow(v,et * hxd.Timer.wantedFPS);
 	}
 
 	public static inline function cos( f : Float ) {