gwnavgeneration/input/inputtileblob.h Source File
Go to the documentation of this file.
9 #ifndef GwNavGen_InputTileBlob_H
10 #define GwNavGen_InputTileBlob_H
19 typedef Vec2i TilePos;
25 KY_ROOT_BLOB_CLASS(Generator, InputTileBlob, 0)
31 InputCellBlob* GetInputCellBlob(
const CellPos& cellPos)
33 KyUInt32 index = m_rowMajorMatrix.GetValues()[m_tileCellBox.GetRowMajorIndex(cellPos)];
34 return &m_inputCellBlobs.GetValues()[index];
40 BlobArray<KyUInt32> m_rowMajorMatrix;
41 BlobArray<InputCellBlob> m_inputCellBlobs;
46 SwapEndianness(e,
self.m_tilePos);
47 SwapEndianness(e,
self.m_tileCellBox);
48 SwapEndianness(e,
self.m_rowMajorMatrix);
49 SwapEndianness(e,
self.m_inputCellBlobs);
Box2i CellBox
A type that represents a bounding box around cells in a 2D grid.
Definition: navmeshtypes.h:34
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:33
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36