| cf::MapFileTerrainT::MapFileTerrainT |
( |
| ) |
|
|
inline |
| Vector3dT cf::MapFileTerrainT::GetSpatial |
( |
unsigned long |
x, |
|
|
unsigned long |
y |
|
) |
| const |
|
inline |
Returns the spatial coordinate for the given (logical) height field position.
Note that for processing all vertices of a terrain quickly, specialized loops should be preferred over this relatively slow (repetitive) method.
- Parameters
-
| x | The horizontal component of the logical height field position. |
| y | The vertical component of the logical height field position. |
- Returns
- the spatial coordinate for the given (logical) height field position.
| ArrayT<unsigned short> cf::MapFileTerrainT::HeightData |
The SideLength*SideLength array of height data.
| unsigned long cf::MapFileTerrainT::SideLength |
Side length of the terrains height data.
The documentation for this struct was generated from the following files: