Add worldOnMap3f()

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6519 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2008-12-30 04:04:22 +00:00
parent d04ceed183
commit 91dfdcfea2
1 changed files with 7 additions and 0 deletions

View File

@ -315,6 +315,13 @@ static inline bool worldOnMap3i(Vector3i pos)
}
/* Return whether a world coordinate is on the map */
static inline bool worldOnMap3f(Vector3f pos)
{
return worldOnMap(pos.x, pos.y);
}
/* Store a map coordinate and it's associated tile */
typedef struct _tile_coord
{