fix: smooth tail interpolation for non-growing snake
When snake doesn't grow, the last segment (new tail) should interpolate from the old tail's position (previous[segmentIndex]), not from the second-to-last segment (previous[segmentIndex-1]) which didn't move.
This commit is contained in:
BIN
publish/Snake.Avalonia
Executable file
BIN
publish/Snake.Avalonia
Executable file
Binary file not shown.
Reference in New Issue
Block a user