Function ears::listener::set_orientation [] [src]

pub fn set_orientation(orientation_at: [f32; 3], orientation_up: [f32; 3])

Set the orientation of the listener.

Default orientation is : at[0.0, 0.0, -1.0] - up[0.0, 1.0, 0.0]

Arguments

Example

listener::set_orientation([0.3f32, -0.4f32, 0.9f32], [0.7f32, 0.3f32, 0.8f32]);