gwnavruntime/navgraph/blobs/navgraphblobbuildertypes.h Source File
Go to the documentation of this file.
8 #ifndef Navigation_NavGraphBlobBuilderTypes_H
9 #define Navigation_NavGraphBlobBuilderTypes_H
18 class NavGraphBlobBuilder_Vertex
24 m_position(position), m_navTagIdx(navTagIdx), m_vertexType(vertexType), m_vertexIdx(vertexIdx) {}
31 KyArray<KyUInt32> m_outgoingEdgesIdx;
35 class NavGraphBlobBuilder_Edge
39 NavGraphBlobBuilder_Edge(): m_startVertexIdx(
KyUInt32MAXVAL), m_endVertexIdx(KyUInt32MAXVAL), m_navTagIdx(0) {}
41 m_startVertexIdx(startVertexIdx), m_endVertexIdx(endVertexIdx), m_navTagIdx(navTagIdx)
43 KY_LOG_ERROR_IF(startVertexIdx == endVertexIdx, (
"Creation of an illegal circular edge."));
54 #endif // #define Navigation_NavGraphBlobBuilderTypes_H
KyUInt16 NavGraphVertexLinkType
Defines a type for a tag that determines whether or not a vertex in a NavGraph should be connected to...
Definition: navgraphtypes.h:26
static const NavGraphVertexLinkType NavGraphVertexLinkType_LinkToNavMesh
Indicates that this vertex should be connected to the NavMesh. If the vertex is outside, we try to link it inside.
Definition: navgraphtypes.h:28
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
#define KyUInt32MAXVAL
The maximum value that can be stored in the KyUInt32 variable type.
Definition: types.h:226