Time + fame backward compatible with previous 0.8.1
This commit is contained in:
@@ -10,5 +10,8 @@ def delta(time):
|
||||
return (delta.seconds * 1000.0 + delta.microseconds / 1000.0)
|
||||
|
||||
|
||||
def as_milliseconds(time):
|
||||
return time * 1000.0
|
||||
|
||||
def as_seconds(time):
|
||||
return time * 1000.0
|
||||
return int(time / 1000.0)
|
||||
Reference in New Issue
Block a user