Resources and hints for understanding "duration"?
Posted: 21 Dec 2017, 13:54
Hi everyone,
I need some help understanding the concept of "duration" used in OpenMW. A lot of the core gameloop functions take duration as a parameter, or read from a duration member variable.
This is to help with the timing of things regardless of frame rate, right?
How might I go about wrapping my head around the concept. How is duration calculated, is it somehow related to frame rate?
What might be a good function to read through that would clarify how duration is used?
Thanks,
Matt
I need some help understanding the concept of "duration" used in OpenMW. A lot of the core gameloop functions take duration as a parameter, or read from a duration member variable.
This is to help with the timing of things regardless of frame rate, right?
How might I go about wrapping my head around the concept. How is duration calculated, is it somehow related to frame rate?
What might be a good function to read through that would clarify how duration is used?
Thanks,
Matt