#include <listener.h>

Public Member Functions | |
| Listener () | |
| virtual | ~Listener () |
| void | SetTransform (const matrix44 &m) |
| void | SetVelocity (const vector3 &v) |
| const matrix44 & | GetTransform () const |
| const vector3 & | GetVelocity () const |
Protected Member Functions | |
| void | SetDirty (bool dirty) |
| virtual void | Update () |
Protected Attributes | |
| matrix44 | transform |
| vector3 | velocity |
| bool | move_dirty |
Friends | |
| class | AudioServer |
| Listener::Listener | ( | ) | [inline] |
Constructor.
| Listener::~Listener | ( | ) | [inline, virtual] |
Destructor.
| void Listener::SetTransform | ( | const matrix44 & | m | ) | [inline] |
Sets world space transform.
| void Listener::SetVelocity | ( | const vector3 & | v | ) | [inline] |
Set world space velocity.
| const matrix44 & Listener::GetTransform | ( | ) | const [inline] |
Gets world space transform.
| const vector3 & Listener::GetVelocity | ( | ) | const [inline] |
Gets world space velocity.
| void Listener::SetDirty | ( | bool | dirty | ) | [inline, protected] |
Sets all dirty flags. Used in AudioServer when listener is changed.
| void Listener::Update | ( | ) | [inline, protected, virtual] |
Updates listener.
Reimplemented in OpenALListener.
friend class AudioServer [friend] |
matrix44 Listener::transform [protected] |
vector3 Listener::velocity [protected] |
bool Listener::move_dirty [protected] |
1.5.3