2101 static uint32 const indices[] =
2113 static float const boundGridCoords[] =
2119 -266.66666f, -266.66666f,
2120 -266.66666f, -533.33331f,
2122 -533.33331f, -266.66666f,
2123 -533.33331f, -533.33331f
2135 quarterIndex = 4 + (gy > gx);
2145 quarterIndex = gx > gy;
2150 G3D::Vector3(boundGridCoords[indices[quarterIndex + 0] * 2 + 0], boundGridCoords[indices[quarterIndex + 0] * 2 + 1],
_minHeight[indices[quarterIndex + 0]]),
2151 G3D::Vector3(boundGridCoords[indices[quarterIndex + 1] * 2 + 0], boundGridCoords[indices[quarterIndex + 1] * 2 + 1],
_minHeight[indices[quarterIndex + 1]]),
2152 G3D::Vector3(boundGridCoords[indices[quarterIndex + 2] * 2 + 0], boundGridCoords[indices[quarterIndex + 2] * 2 + 1],
_minHeight[indices[quarterIndex + 2]])
#define SIZE_OF_GRIDS
Definition: GridDefines.h:39
#define CENTER_GRID_ID
Definition: GridDefines.h:40
#define MAX_NUMBER_OF_CELLS
Definition: GridDefines.h:35
int16 * _minHeight
Definition: Map.h:173
float distance(const Vector3 &x) const
Definition: Plane.h:131
uint32_t uint32
Definition: Define.h:150
G3D::int16 y
Definition: Vector2int16.h:38
int32_t int32
Definition: g3dmath.h:167
G3D::int16 x
Definition: Vector2int16.h:37