|
@@ -11,7 +11,7 @@ class Timer {
|
|
public static var deltaT : Float = 1;
|
|
public static var deltaT : Float = 1;
|
|
static var frameCount = 0;
|
|
static var frameCount = 0;
|
|
|
|
|
|
- public inline static function update() {
|
|
|
|
|
|
+ public static function update() {
|
|
frameCount++;
|
|
frameCount++;
|
|
var newTime = haxe.Timer.stamp();
|
|
var newTime = haxe.Timer.stamp();
|
|
deltaT = newTime - oldTime;
|
|
deltaT = newTime - oldTime;
|