Improve input time scale handling
This commit is contained in:
@@ -136,8 +136,9 @@ namespace OpenVulkano::Input
|
||||
return devices;
|
||||
}
|
||||
|
||||
void InputManager::Tick()
|
||||
void InputManager::Tick(double time)
|
||||
{
|
||||
timescale = inputTimeRange.Clamp(time);
|
||||
for(InputDevice* device : devices)
|
||||
{
|
||||
device->Tick();
|
||||
|
||||
Reference in New Issue
Block a user