fix spin bug edge case

This commit is contained in:
Quaternions 2025-01-15 00:38:54 -08:00
parent f9d4ca8370
commit f98ffe6e0b

View File

@ -110,7 +110,7 @@ impl MouseInterpolator{
// but the timer is not accessible from this scope
// and it's just here to say that the mouse isn't moving anyways.
// I think this is a divide by zero bug, two identical mouse_states will occupy the interpolation state
time,
time:mouse_state.time,
instruction:MouseInstruction::SetNextMouse(MouseState{pos:mouse_state.pos,time}),
});
},