#import <O3D_Quaternion.h>
Public Member Functions | |
(id) | - initFromAxis:angle: |
Creates a normalized Quaternion on the specified axis with the specified angle. | |
(id) | - initWithQuaternion: |
Copy a Quaternion. | |
(O3D_Matrix *) | - matrix |
Creates an autoreleased matrix representing the receiver. | |
(NSDictionary *) | - axisAngle |
generates a Dictionary cotaining an axis / angle pair for the receiver. Keys "axis" and "angle" | |
(O3D_Vector3 *) | - vectorX |
Creates an autoreleased vector representing the X axis of the receiver. | |
(O3D_Vector3 *) | - vectorY |
Creates an autoreleased vector representing the Y axis of the receiver. | |
(O3D_Vector3 *) | - vectorZ |
Creates an autoreleased vector representing the Z axis of the receiver. | |
(void) | - invert |
Inverts the receiver. | |
(void) | - normalize |
Normalizes the receiver. | |
(void) | - multiplyByQuaternion: |
Multiplies the receiver by the argument Quaternion. | |
(void) | - rotateWithAxis:angle: |
Rotates the receiver on the specified axis by the specified amount. | |
Static Public Member Functions | |
(O3D_Quaternion *) | + quaternion |
Autoreleased Quaternion. | |
(O3D_Quaternion *) | + quaternionWithQuaternion: |
Autoreleased copied Quaternion. | |
(O3D_Quaternion *) | + quaternionFromAxis:angle: |
Autoreleased Quaternion on the specified axis with the specified angle. | |
Properties | |
float | x |
float | y |
float | z |
float | w |