[−][src]Function ears::listener::set_velocity
pub fn set_velocity(velocity: [f32; 3])
Set the velocity of the listener.
Default velocity is [0.0, 0.0, 0.0].
Argument
velocity
- A three dimensional vector of f32 containing the velocity of the sound [x, y, z].