Remove the preceding sprite interpolation functions, not needed anymore

This commit is contained in:
NY00123 2020-05-01 15:05:18 +03:00 committed by Christoph Oelckers
parent 221172311c
commit 27675d9f4f
2 changed files with 0 additions and 13 deletions

View file

@ -111,12 +111,4 @@ void restoreinterpolations(void) // Stick at end of drawscreen
*curipos[i] = bakipos[i];
}
void togglespriteinterpolation(spritetype *sp, int set)
{
auto func = set ? setinterpolation : stopinterpolation;
func(&sp->x);
func(&sp->y);
func(&sp->z);
}
END_SW_NS

View file

@ -50,11 +50,6 @@ void updateinterpolations(void);
void dointerpolations(int smoothratio);
void restoreinterpolations(void);
void togglespriteinterpolation(spritetype *sp, int set);
static void FORCE_INLINE setspriteinterpolation(spritetype *sp) { togglespriteinterpolation(sp, 1); }
static void FORCE_INLINE stopspriteinterpolation(spritetype *sp) { togglespriteinterpolation(sp, 0); }
#endif
END_SW_NS