Replace float/UInt64 durations by a more precise Time class (#388)
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Nz
|
||||
rigidBodyComponent.Destroy();
|
||||
}
|
||||
|
||||
void Physics3DSystem::Update(float elapsedTime)
|
||||
void Physics3DSystem::Update(Time elapsedTime)
|
||||
{
|
||||
m_physWorld.Step(elapsedTime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user