gwnavgamekit/itinerary.h Source File
Go to the documentation of this file.
10 #ifndef Navigation_Itinerary_H
11 #define Navigation_Itinerary_H
32 DynamicNavTag m_navTag;
42 Itinerary() { m_length = 0.0f; }
45 template<
class TLogic>
46 void Compute(Path* path,
void* traverseLogicUserData)
48 PathValidityInterval pathValidityInterval;
49 PositionOnLivePath positionOnLivePath;
50 positionOnLivePath.BindToPathEventList(&pathValidityInterval.m_pathEventList);
51 positionOnLivePath.InitOnPathFirstNode(path);
52 pathValidityInterval.ReStartIntervalComputation<TLogic>(path, traverseLogicUserData, positionOnLivePath.GetPositionOnPath(), 0.0f, 0.0f);
54 BuildItineraryNodes(positionOnLivePath);
58 void BuildItineraryNodes( PositionOnLivePath &positionOnLivePath );
61 KyArray<ItineraryEdge> m_edges;
62 KyArray<ItineraryNode> m_nodes;
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
PathEdgeType
Defines the different kind of PathEdge within a Path.
Definition: path.h:26
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43