gwnavruntime/channel/raycastinchannel.h Source File
Go to the documentation of this file.
7 #ifndef Navigation_RayCastInChannel_H
8 #define Navigation_RayCastInChannel_H
18 RayCastInChannel_NotInitialised,
19 RayCastInChannel_NotProcessed,
33 class RayCastInChannel
38 void Initialize(
const Vec2f& startPos2f,
const Channel* channel,
KyUInt32 startSectionIdx,
const Vec2f& maxMove2D);
43 void PerformThroughNext();
44 void PerformThroughPrevious();
45 void PerformAgainstSectionBorders();
47 void UpdateArrivalPos(
const Vec2f& collisionPos);
49 bool IsProperlyInitialized();
53 const Channel* m_channel;
The start position is outside the start section.
Definition: raycastinchannel.h:28
A collision is detected with Channel borders.
Definition: raycastinchannel.h:26
The Channel is not valid (it has less than 2 Gates and thus no section).
Definition: raycastinchannel.h:30
RayCastInChannelResult
Definition: raycastinchannel.h:16
Definition: gamekitcrowddispersion.h:20
The start position is inside the Channel and all Gates up to the Channel end one are correctly crosse...
Definition: raycastinchannel.h:24
The start and end positions are both inside the Channel and all Gates in-between are correctly crosse...
Definition: raycastinchannel.h:21
The start position is inside the Channel and all Gates up to the Channel start one are correctly cros...
Definition: raycastinchannel.h:23
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
The start section index is not valid (it is greater than channel section count).
Definition: raycastinchannel.h:29
A collision is detected with Channel borders.
Definition: raycastinchannel.h:25