21 #ifndef GF_DIRECTION_H 22 #define GF_DIRECTION_H 24 #include "Portability.h" 28 #ifndef DOXYGEN_SHOULD_SKIP_THIS 127 #ifndef DOXYGEN_SHOULD_SKIP_THIS 132 #endif // GF_DIRECTION_H Direction orthogonalCCW(Direction direction)
Get the orthogonal direction counter-clockwise.
Direction
Main four directions.
Definition: Direction.h:41
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.
Direction opposite(Direction direction)
Get the opposite direction.
Direction nextCW(Direction direction)
Get the next direction clockwise.
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.
General purpose math vector.
Definition: Vector.h:61