21 #ifndef GF_ORIENTATION_H 22 #define GF_ORIENTATION_H 24 #include "Portability.h" 28 #ifndef DOXYGEN_SHOULD_SKIP_THIS 146 #ifndef DOXYGEN_SHOULD_SKIP_THIS 152 #endif // GF_ORIENTATION_H Direction orthogonalCCW(Direction direction)
Get the orthogonal direction counter-clockwise.
Vector2i displacement(Direction direction)
Get a vector from a direction.
Direction orthogonalCW(Direction direction)
Get the orthogonal direction clockwise.
Direction nextCCW(Direction direction)
Get the next direction counter-clockwise.
Orientation orientation(float angle)
Get an orientation from an angle.
Direction opposite(Direction direction)
Get the opposite direction.
The south-west orientation.
Direction nextCW(Direction direction)
Get the next direction clockwise.
The north-east orientation.
The south-east orientation.
Vector2f unit(Direction direction)
Get a unit vector from a direction.
The namespace for gf classes.
Definition: Action.h:35
float angle(Direction direction)
Get an angle from a direction.
Orientation
Cardinal and ordinal orientation.
Definition: Orientation.h:42
General purpose math vector.
Definition: Vector.h:61
The north-west orientation.