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.
87 MiB
Executable File
87 MiB
Executable File
The file is too large to be shown.
View Raw