- deleted unused inlines.

This commit is contained in:
Christoph Oelckers 2021-10-11 23:03:11 +02:00
parent afce1aba88
commit ff0c4359e0

View file

@ -82,21 +82,11 @@ inline double SpriteX(spritetype* spr)
return spr->x * (1 / 16.);
}
inline double SpriteX(int wallnum)
{
return sprite[wallnum].x * (1 / 16.);
}
inline double SpriteY(spritetype* spr)
{
return spr->y * (1 / -16.);
}
inline double SpriteY(int wallnum)
{
return sprite[wallnum].y * (1 / -16.);
}
inline DVector2 SpritePos(spritetype* spr)
{
return { SpriteX(spr), SpriteY(spr) };