INNER CODE UNIT · Rust

f32

CleanCut/rusty_engine · src/lib.rs:115

pub const SOUTH_WEST: f32 = PI + FRAC_PI_4;
/// The rotation (in radians) for a sprite to face west
pub const WEST: f32 = PI;
/// The rotation (in radians) for a sprite to face north west
pub const NORTH_WEST: f32 = FRAC_PI_2 + FRAC_PI_4;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…