tile2d
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TileBody< TileType >::SpatialIndex Class Reference

A spatial index where pos may point towards a chunk or tile. More...

#include <tileMap.hpp>

Public Member Functions

 SpatialIndex (const glm::i32vec2 &pos)
 
 SpatialIndex (const AABB< Float > &aabb, const glm::i32vec2 &pos)
 
bool operator== (const SpatialIndex &other) const
 

Public Attributes

AABB< Float > aabb
 
glm::i32vec2 pos
 

Detailed Description

template<typename TileType>
class TileBody< TileType >::SpatialIndex

A spatial index where pos may point towards a chunk or tile.


The documentation for this class was generated from the following file: