Assimp
v3.1.1 (June 2014)
|
Wrapper for a quaternion. More...
Public Member Functions | |
AiQuaternion (ByteBuffer buffer, int offset) | |
Constructor. More... | |
float | getW () |
Returns the w value. More... | |
float | getX () |
Returns the x value. More... | |
float | getY () |
Returns the y value. More... | |
float | getZ () |
Returns the z value. More... | |
void | setW (float w) |
Sets the z component. More... | |
void | setX (float x) |
Sets the x component. More... | |
void | setY (float y) |
Sets the y component. More... | |
void | setZ (float z) |
Sets the z component. More... | |
String | toString () |
Wrapper for a quaternion.
The wrapper is writable, i.e., changes performed via the set-methods will modify the underlying mesh/animation.
|
inline |
Constructor.
buffer | the buffer to wrap |
offset | offset into buffer |
|
inline |
Returns the w value.
|
inline |
Returns the x value.
|
inline |
Returns the y value.
|
inline |
Returns the z value.
|
inline |
Sets the z component.
w | the new value |
|
inline |
Sets the x component.
x | the new value |
|
inline |
Sets the y component.
y | the new value |
|
inline |
Sets the z component.
z | the new value |
|
inline |