#import <O3D_Vector3.h>
Public Member Functions | |
| (id) | - initWithX:Y:Z: |
| Initialize with X, Y and Z values. | |
| (id) | - initWithVector: |
| Initialize with values from another vector. | |
| (id) | - initWithAngle: |
| Initialize wiht an angle (Z assumed to be 0). | |
| (void) | - normalize |
| Normalize the receiver. | |
| (void) | - rotate: |
| Rotate the receiver using Quaternions. | |
| (float) | - angle |
| Get the angle of the vector. | |
| (float) | - dotProductWithVector: |
| Get the dot product of the receiver and the argument vector. | |
| (float) | - angleWithVector: |
| Get the difference in angle between the receiver and the argument vector. | |
| (O3D_Vector3 *) | - normalizedVector |
| Create a normalized vector. | |
| (O3D_Vector3 *) | - vectorWithRotation: |
| Create a vector with the specified rotation. | |
| (O3D_Vector3 *) | - crossProductWithVector: |
| Create a vector by calculating the cross product of the receiver and the argument vector. | |
Static Public Member Functions | |
| (O3D_Vector3 *) | + vector |
| Create an autoreleased vector. | |
| (O3D_Vector3 *) | + vectorWithX:Y:Z: |
| Create an autoreleased vector with X, Y and Z values. | |
| (O3D_Vector3 *) | + vectorWithAngle: |
| Create an autoreleased vector representing an nflw. | |
| (O3D_Vector3 *) | + vectorWithVector: |
| Create an autoreleased vector with values from another vector. | |
Properties | |
| float | x |
| float | y |
| float | z |
1.5.9