Struct mumble_link::Position
[−]
[src]
pub struct Position { pub position: [f32; 3], pub front: [f32; 3], pub top: [f32; 3], }
A position in three-dimensional space.
The vectors are in a left-handed coordinate system: X positive towards "right", Y positive towards "up", and Z positive towards "front". One unit is treated as one meter by the sound engine.
front
and top
should be unit vectors and perpendicular to each other.
Fields
position: [f32; 3]
The character's position in space.
front: [f32; 3]
A unit vector pointing out of the character's eyes.
top: [f32; 3]
A unit vector pointing out of the top of the character's head.
Trait Implementations
impl Copy for Position
[src]
impl Clone for Position
[src]
fn clone(&self) -> Position
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more