Add worldOnMap3f()
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6519 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
d04ceed183
commit
91dfdcfea2
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue