Corange
Corange copied to clipboard
How does the interpolation work on the animation?
Here: https://github.com/orangeduck/Corange/blob/eaace0fcfdd895863e3f71f155a387dfb0e7130c/src/assets/animation.c#L70-L79
I don't understand why you do time = fmod(time, a->frame_time * (a->frame_count-1)); and then (time / a->frame_time) + 0 for the first frame.