diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-15 18:19:50 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-15 18:19:50 -0700 |
commit | 64a5b1747b41f8dcb1d8cf6e6108c386e2904585 (patch) | |
tree | 127587127e7b92b6eecf13afbc216e1e7ed67d1e /src/libs/ray/ray_object_sphere.h | |
parent | f89689ba9f198755a3f2ce05dec11b7ea185f374 (diff) |
til_module_context: s/ticks/last_ticks/ in context
And just maintain it as the last ticks value after rendering with
the context...
A couple modules were already doing this manually in an ad-hoc
fashion, just make it a general thing.
Updated those modules to reflect the new situation
Especially in a rkt world with modules::mixer doing fades, it
becomes common to render the same context twice in the same frame
for the blending. We need to prevent accelerated animations in
such situations. For now let's just rely on ticks in a delta-T
fashion to prevent animating the context when ticks is the same.
modules::stars in particular needs this fixed up, upcoming commit
Diffstat (limited to 'src/libs/ray/ray_object_sphere.h')
0 files changed, 0 insertions, 0 deletions