Sly Engine
TerrainObject::Cell Struct Reference

A cell as it is stored within the terrain. More...

Collaboration diagram for TerrainObject::Cell:
Collaboration graph

Public Member Functions

 Cell (Vect min, Vect max)
 

Public Attributes

Vect minVect
 
Vect maxVect
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Cell()

TerrainObject::Cell::Cell ( Vect  min,
Vect  max 
)

Member Data Documentation

◆ maxVect

Vect TerrainObject::Cell::maxVect

◆ minVect

Vect TerrainObject::Cell::minVect

The documentation for this struct was generated from the following files: