Skip to content
Snippets Groups Projects

MD2 interpolation fix

Merged Monster Iestyn requested to merge md2-interpolation-fix into master
  1. Oct 30, 2017
  2. Oct 28, 2017
  3. Oct 24, 2017
    • Monster Iestyn's avatar
      Don't use interpolation code if the frame lasts instantaneously or infinitely · 0cc8fbdb
      Monster Iestyn authored
      Also removed the + 1 from newtime, since there was never really any need for it. It just offset the interpolation so it went like (1 -> 2] instead of [1 -> 2), so you never saw the base appearance for each frame except at the end of any frames interpolating to it
      
      Changed DrawMD2Ex's duration/tics type to INT32 so -1 comparisons work, probably want to change the signs elsewhere too but this is fine for now
      0cc8fbdb
Loading