gwnavruntime/math/rotation.h Source File
Go to the documentation of this file.
17 UninitializedRotationDirection,
18 UndefinedRotationDirection,
23 KY_INLINE
bool IsADefinedRotationDirection(
RotationDirection rotDir) {
return rotDir == Clockwise || rotDir == CounterClockwise; }
25 KY_INLINE
const char* GetRotationDirectionLabel(
RotationDirection rotationDirection)
27 switch (rotationDirection)
29 case UninitializedRotationDirection :
return "!!! Not initialized !!! ";
30 case UndefinedRotationDirection :
return "UndefinedRotationDirection";
31 case Clockwise :
return "Clockwise ";
32 case CounterClockwise :
return "CounterClockwise ";
51 template<
typename OSTREAM>
56 case InTurnRange: ostream <<
"InTurnRange ";
break;
57 case SmallTurnRange: ostream <<
"SmallTurnRange ";
break;
58 case NearTurnRangeStart: ostream <<
"NearTurnRangeStart";
break;
59 case NearTurnRangeEnd: ostream <<
"NearTurnRangeEnd ";
break;
60 case OutOfTurnRange: ostream <<
"OutOfTurnRange ";
break;
RotationDirection
Defines the 4 possible cases of possibly constrained rotation in the horizontal plane for a given ele...
Definition: rotation.h:15
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
IsInTurnRangeResult
Defines the relative position of a direction, given a rotation direction and bounding directions...
Definition: rotation.h:42
float KyFloat32
float
Definition: types.h:32