Information about a Tile, such as the terrain it belongs to, its coordinates etc. More...
Public Member Functions | |
TileInfo () | |
Creates a new TileInfo. | |
TileInfo (int terrainId, vec3i lp, vec3f fp) | |
Creates a new TileInfo. | |
~TileInfo () | |
Deletes this TileInfo. | |
Public Attributes | |
int | terrainId |
Id of the terrain to which this tile belongs. | |
vec3i | lp |
Tile logical coordinates (level, tx, ty). | |
vec3f | fp |
Tile real coordinates (x, y, width). |
Information about a Tile, such as the terrain it belongs to, its coordinates etc.
.. Used to determine which tiles need to be produced in ParticleProducer, as well as which tiles need to be released after usage.
proland::UpdateRiversTask::TileInfo::TileInfo | ( | ) |
Creates a new TileInfo.
proland::UpdateRiversTask::TileInfo::TileInfo | ( | int | terrainId, | |
vec3i | lp, | |||
vec3f | fp | |||
) |
Creates a new TileInfo.
terrainId | the id of the terrain that contains this Tile. | |
lp | tile logical coordinates (level, tx, ty). | |
fp | tile real coordinates (x, y, width). |
proland::UpdateRiversTask::TileInfo::~TileInfo | ( | ) |
Deletes this TileInfo.
Tile real coordinates (x, y, width).
Tile logical coordinates (level, tx, ty).
Id of the terrain to which this tile belongs.