audio-orientation ( listener -- orientation )
Audio playback engine » Audio listener protocol

Prev:audio-velocity ( source/listener -- velocity )
Next:audio-listener


Vocabulary
audio.engine

Inputs
listeneran object implementing the Audio listener protocol


Outputs
orientationan audio-orientation


Word description
Returns the orientation of the listener. The orientation must be returned in an audio-orientation tuple with the following slots:
forward is a 3-component vector indicating the direction the listener is facing.
up is a 3-component vector indicating the "up" direction for the listener. This vector does not need to be normal to the forward vector.

The vectors do not need to be normalized.

Definition

GENERIC: audio-orientation ( listener -- orientation )


Methods