O3D_Vector3 Class Reference

Vector class representing three floats. More...

#import <O3D_Vector3.h>

List of all members.

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


Detailed Description

Vector class representing three floats.
The documentation for this class was generated from the following files:

Generated on Wed Jun 10 23:48:30 2009 for Objective 3D by  doxygen 1.5.9