Trait ark_api::CoordinateSystem
source · pub trait CoordinateSystem {
// Required methods
fn up() -> Self;
fn down() -> Self;
fn right() -> Self;
fn left() -> Self;
fn forward() -> Self;
fn back() -> Self;
}Expand description
Coordinate system extension to Vec3
This crate is opinionated with what coordinate system it uses and this adds additional functions to access the coordinate system axis
The exact coordinate system we use is right-handed with +X = right, +Y = up, -Z = forward, +Z = back
Required Methods§
sourcefn right() -> Self
fn right() -> Self
A unit length vector pointing in the canonical right direction.
This is the right hand side of a first person character.