21 #ifndef GF_DIRECTION_H
22 #define GF_DIRECTION_H
28 #ifndef DOXYGEN_SHOULD_SKIP_THIS
127 #ifndef DOXYGEN_SHOULD_SKIP_THIS
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.
float angle(Direction direction)
Get an angle from a direction.
#define GF_API
Definition: Portability.h:35
The center, indicates no direction.