gwnavruntime/navgraph/vertexdata.h Source File

vertexdata.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
11 
12 namespace Kaim
13 {
14 class NavGraphLink;
15 
16 /* For internal use. */
17 class GraphVertexData
18 {
19  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_NavData)
20 
21 public:
22  GraphVertexData() : m_startIdxInEdgeDataArray(0), m_navGraphLink(nullptr) {}
23 
24 public:
25  KyUInt32 m_startIdxInEdgeDataArray; /*< index of the first index of the outgoingEdge in */
26  CellPos m_cellPos; // the CellPos in which the vertex has been spatialized
27  NavGraphLink* m_navGraphLink;
28 };
29 
30 }
31 
32 
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_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17