|
Blender
V2.59
|
#include <AUD_3DMath.h>
Public Member Functions | |
| AUD_Vector3 (float x, float y, float z) | |
| const float & | x () const |
| const float & | y () const |
| const float & | z () const |
| void | get (float *destination) const |
| const float * | get () const |
Definition at line 121 of file AUD_3DMath.h.
| AUD_Vector3::AUD_Vector3 | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) | [inline] |
Creates a new 3 dimensional vector.
| x | The x component. |
| y | The y component. |
| z | The z component. |
Definition at line 142 of file AUD_3DMath.h.
| void AUD_Vector3::get | ( | float * | destination | ) | const [inline] |
Retrieves the components of the vector.
| destination | Where the 3 float values should be saved to. |
Definition at line 178 of file AUD_3DMath.h.
Referenced by AUD_OpenALDevice::setListenerLocation(), AUD_OpenALDevice::setListenerVelocity(), AUD_OpenALDevice::setSourceLocation(), and AUD_OpenALDevice::setSourceVelocity().
| const float* AUD_Vector3::get | ( | ) | const [inline] |
Retrieves the components of the vector.
Definition at line 189 of file AUD_3DMath.h.
References m_v.
| const float& AUD_Vector3::x | ( | ) | const [inline] |
Retrieves the x component of the vector.
Definition at line 151 of file AUD_3DMath.h.
References m_x.
Referenced by Device_get_listener_location(), Device_get_listener_velocity(), Handle_get_location(), and Handle_get_velocity().
| const float& AUD_Vector3::y | ( | ) | const [inline] |
Retrieves the y component of the vector.
Definition at line 160 of file AUD_3DMath.h.
References m_y.
Referenced by Device_get_listener_location(), Device_get_listener_velocity(), Handle_get_location(), and Handle_get_velocity().
| const float& AUD_Vector3::z | ( | ) | const [inline] |
Retrieves the z component of the vector.
Definition at line 169 of file AUD_3DMath.h.
References m_z.
Referenced by Device_get_listener_location(), Device_get_listener_velocity(), Handle_get_location(), and Handle_get_velocity().
| float AUD_Vector3::m_v[3] |
Definition at line 126 of file AUD_3DMath.h.
Referenced by get().
| float AUD_Vector3::m_x |
Definition at line 129 of file AUD_3DMath.h.
| float AUD_Vector3::m_y |
Definition at line 130 of file AUD_3DMath.h.
| float AUD_Vector3::m_z |
Definition at line 131 of file AUD_3DMath.h.