pub fn set_direction<D: Into<Vector3f>>(direction: D)
Expand description

Set the orientation of the listener in the scene

The orientation defines the 3D axes of the listener (left, up, front) in the scene. The orientation vector doesn’t have to be normalized. The default listener’s orientation is (0, 0, -1).

Arguments

  • direction - New listener’s orientation