proland::UpdateRiversTask::TileInfo Struct Reference

Information about a Tile, such as the terrain it belongs to, its coordinates etc. More...

List of all members.

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).

Detailed Description

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.


Constructor & Destructor Documentation

proland::UpdateRiversTask::TileInfo::TileInfo (  ) 

Creates a new TileInfo.

proland::UpdateRiversTask::TileInfo::TileInfo ( int  terrainId,
vec3i  lp,
vec3f  fp 
)

Creates a new TileInfo.

Parameters:
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.


Member Data Documentation

Tile real coordinates (x, y, width).

Tile logical coordinates (level, tx, ty).

Id of the terrain to which this tile belongs.


Generated on Sat May 12 09:42:59 2012 for proland by  doxygen 1.6.1