Sly Engine
|
A cell as it is stored within the terrain. More...
Public Member Functions | |
Cell (Vect min, Vect max) | |
Public Attributes | |
Vect | minVect |
Vect | maxVect |
A cell as it is stored within the terrain.
The structure of the cell could be optimized utilizing just the Y value of each min and max value within the dataset. The reason I am choosing to store the whole Vect is for quick access when creating AABB's for visualization and collision.
TerrainObject::Cell::Cell | ( | Vect | min, |
Vect | max | ||
) |
Vect TerrainObject::Cell::maxVect |
Vect TerrainObject::Cell::minVect |