Skip to content

Commit

Permalink
- deleted unused inlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 11, 2021
1 parent afce1ab commit ff0c435
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions source/core/gamefuncs.h
Expand Up @@ -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) };
Expand Down

0 comments on commit ff0c435

Please sign in to comment.