|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CLandscapeCollisionGrid Class ReferenceA grid of Tiles Id.
More...
#include <landscape_collision_grid.h>
List of all members.
Detailed Description
A grid of Tiles Id.
Each CVisualCollisionEntity has such a grid. This looks like CQuadGrid, but with special features. -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2001
Definition at line 55 of file landscape_collision_grid.h.
Constructor & Destructor Documentation
NL3D::CLandscapeCollisionGrid::~CLandscapeCollisionGrid |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CLandscapeCollisionGrid::build |
( |
const std::vector< CPatchQuadBlock * > & |
quadBlocks, |
|
|
const CVector & |
delta |
|
) |
|
|
|
Build the quadgrid with a array of patchblock.
delta is the vector to apply to tiles coordinate, before insertion in the quadgrid (for precision consideration).
Definition at line 147 of file landscape_collision_grid.cpp.
References _Cleared, _Delta, addQuadToGrid, clear, NL3D::fastFloor, NL3D::fastFloorBegin, NL3D::fastFloorEnd, id, min, NL_PATCH_BLOCK_MAX_QUAD, NL_PATCH_BLOCK_MAX_VERTEX, x, and y. |
void NL3D::CLandscapeCollisionGrid::clear |
( |
|
) |
|
|
Member Data Documentation
bool NL3D::CLandscapeCollisionGrid::_Cleared [private]
|
|
CVector NL3D::CLandscapeCollisionGrid::_Delta [private]
|
|
CVisualTileDescNode* NL3D::CLandscapeCollisionGrid::_Grid[NL_COLGRID_SIZE*NL_COLGRID_SIZE] [private]
|
|
uint NL3D::CLandscapeCollisionGrid::_SizePower [private]
|
|
The documentation for this class was generated from the following files:
|
|