use std::f32::consts::{FRAC_PI_2, FRAC_PI_4, PI}; pub const RIGHT: f32 = 0.0; pub const LEFT: f32 = PI; pub const UP: f32 = FRAC_PI_2; pub const DOWN: f32 = PI + FRAC_PI_2; pub const NORTH: f32 = FRAC_PI_2; pub const NORTH_EAST: f32 = FRAC_PI_4; pub const EAST: f32 = 0.0; pub const SOUTH_EAST: f32 = PI + FRAC_PI_2 + FRAC_PI_4; pub const SOUTH: f32 = PI + FRAC_PI_2; pub const SOUTH_WEST: f32 = PI + FRAC_PI_4; pub const WEST: f32 = PI; pub const NORTH_WEST: f32 = FRAC_PI_2 + FRAC_PI_4;