gwnavruntime/navmesh/celldesc.h Source File
Go to the documentation of this file.
18 class PixelAndCellGrid;
25 void Init(const PixelAndCellGrid& pixelAndCellGrid, const
CellPos& cellPos,
KyFloat32 rasterPrecision);
26 bool operator==(const CellDesc& other) const;
30 PixelBox m_exclusivePixelBox;
31 PixelBox m_enlargedPixelBox;
36 inline
void SwapEndianness(Endianness::Target e, CellDesc& self)
38 SwapEndianness(e,
self.m_cellPos);
39 SwapEndianness(e,
self.m_exclusivePixelBox);
40 SwapEndianness(e,
self.m_enlargedPixelBox);
41 SwapEndianness(e,
self.m_exclusiveCoordBox);
42 SwapEndianness(e,
self.m_enlargedCoordBox);
43 SwapEndianness(e,
self.m_box2f);
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:30
Box2i CoordBox
A type that represents a bounding box in the integer 2D grid.
Definition: navmeshtypes.h:21
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
float KyFloat32
float
Definition: types.h:32