21#ifndef GF_ORIENTATION_H
22#define GF_ORIENTATION_H
30#ifndef DOXYGEN_SHOULD_SKIP_THIS
148#ifndef DOXYGEN_SHOULD_SKIP_THIS
GF_CORE_API Vector2i displacement(Direction direction)
Get a vector from a direction.
GF_CORE_API Orientation orientation(float angle)
Get an orientation from an angle.
Orientation
Cardinal and ordinal orientation.
Definition: Orientation.h:44
GF_CORE_API Direction orthogonalCW(Direction direction)
Get the orthogonal direction clockwise.
GF_CORE_API float angle(Direction direction)
Get an angle from a direction.
GF_CORE_API Direction nextCW(Direction direction)
Get the next direction clockwise.
GF_CORE_API Direction opposite(Direction direction)
Get the opposite direction.
GF_CORE_API Direction orthogonalCCW(Direction direction)
Get the orthogonal direction counter-clockwise.
GF_CORE_API Direction nextCCW(Direction direction)
Get the next direction counter-clockwise.
GF_CORE_API Vector2f unit(Direction direction)
Get a unit vector from a direction.
@ NorthWest
The north-west orientation.
@ South
The south orientation.
@ North
The north orientation.
@ NorthEast
The north-east orientation.
@ SouthEast
The south-east orientation.
@ East
The east orientation.
@ West
The west orientation.
@ SouthWest
The south-west orientation.
@ Center
Centered alignment.
The namespace for gf classes.