Corange icon indicating copy to clipboard operation
Corange copied to clipboard

How does the interpolation work on the animation?

Open EmmanuelMess opened this issue 6 years ago • 0 comments

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.

EmmanuelMess avatar Dec 18 '19 00:12 EmmanuelMess