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

The character's position in space.

A unit vector pointing out of the character's eyes.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Position
[src]

Returns the "default value" for a type. Read more