Improve input time scale handling

This commit is contained in:
Georg Hagen
2025-01-25 22:15:14 +01:00
parent c56d956503
commit 48b3c0745b
8 changed files with 16 additions and 7 deletions

View File

@@ -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();