mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
replaced loop_multiplier and loop_shift with more general -animformula
This commit is contained in:
@@ -378,7 +378,7 @@ void enable() {
|
||||
rogueviz::rv_hook(anims::hooks_anim, 100, [] {
|
||||
|
||||
if(!animation) return;
|
||||
ld t = ticks * 1. * anims::loop_multiplier / anims::period;
|
||||
ld t = ticks * 1. / anims::period;
|
||||
t *= isize(path);
|
||||
|
||||
hyperpoint at = interp(t);
|
||||
|
Reference in New Issue
Block a user