gwnavruntime/navmesh/dynamicnavcell.h Source File
Go to the documentation of this file.
20 struct DynamicCellBoundaryFloor
25 struct DynamicCellBoundaryEdge
30 struct DynamicCellBoundaryEdgesInFloor
32 DynamicCellBoundaryEdgesInFloor() : m_cellBoundaryEdges(nullptr) {}
33 DynamicCellBoundaryEdgesInFloor(MemoryHeap* heap) : m_cellBoundaryEdges(heap)
36 m_cellBoundaryEdges.PushBack(ArrayDH<DynamicCellBoundaryEdge>(heap));
38 ArrayDH<ArrayDH<DynamicCellBoundaryEdge> > m_cellBoundaryEdges;
49 DynamicNavCell(MemoryHeap* heap, const CellDesc& cellDesc)
50 : m_cellDesc(cellDesc)
56 for (
KyUInt32 i = 0; i < m_floors.GetCount(); ++i)
60 CardinalDir GetBoundaryDir(
const PixelPos& start,
const PixelPos& end)
const;
62 bool AreIndexesWithinBounds()
const
65 for (
KyUInt32 floorIdx = 0; floorIdx < m_floors.GetCount(); ++floorIdx)
67 if (!m_floors[floorIdx].AreIndexesWithinBounds())
78 if (m_floors.IsEmpty())
81 for (
KyUInt32 i = 0; i < m_floors.GetCount(); ++i)
83 const DynamicNavFloor& floor = m_floors[i];
84 if (floor.m_edges.IsEmpty() ==
false || floor.m_triangles.IsEmpty() == false )
93 KyArrayDH<DynamicNavFloor> m_floors;
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
KyUInt32 CardinalDir
Defines a type that refers to one of the cardinal points on the compass:
Definition: cardinaldir.h:15
#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