gwnavgeneration/input/inputtileblob.h Source File
Go to the documentation of this file.
17 typedef Vec2i TilePos;
23 KY_ROOT_BLOB_CLASS(Generator, InputTileBlob, 0)
29 InputCellBlob* GetInputCellBlob(
const CellPos& cellPos)
31 KyUInt32 index = m_rowMajorMatrix.GetValues()[m_tileCellBox.GetRowMajorIndex(cellPos)];
32 return &m_inputCellBlobs.GetValues()[index];
38 BlobArray<KyUInt32> m_rowMajorMatrix;
39 BlobArray<InputCellBlob> m_inputCellBlobs;
44 SwapEndianness(e,
self.m_tilePos);
45 SwapEndianness(e,
self.m_tileCellBox);
46 SwapEndianness(e,
self.m_rowMajorMatrix);
47 SwapEndianness(e,
self.m_inputCellBlobs);
Box2i CellBox
A type that represents a bounding box around cells in a 2D grid.
Definition: navmeshtypes.h:31
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:30
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17