rv::simple-impossible:: loop_multiplier taken into account

This commit is contained in:
Zeno Rogue 2022-04-12 13:02:41 +02:00
parent 9bcd0be3f3
commit 461025ca8f
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ void enable() {
rogueviz::rv_hook(anims::hooks_anim, 100, [] {
if(!animation) return;
ld t = ticks * 1. / anims::period;
ld t = ticks * 1. * anims::loop_multiplier / anims::period;
t *= isize(path);
hyperpoint at = interp(t);