Explorar o código

no hl specific smoothFactor

ncannasse %!s(int64=7) %!d(string=hai) anos
pai
achega
2c26e977c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hxd/Timer.hx

+ 1 - 1
hxd/Timer.hx

@@ -25,7 +25,7 @@ class Timer {
 		the results for tmod/dt/fps over frames using the formula   dt = lerp(dt, elapsedTime, smoothFactor)
 		Default : 0 on HashLink, 0.95 on other platforms
 	**/
-	public static var smoothFactor = #if hl 0. #else 0.95 #end;
+	public static var smoothFactor = 0.95;
 
 	/**
 		The last timestamp in which update() function was called.