- Cal3D 0.11 API Reference - |
#include <vector.h>
Public Member Functions | |
CalVector (const CalVector &v) | |
CalVector (float vx, float vy, float vz) | |
float & | operator[] (unsigned int i) |
const float & | operator[] (unsigned int i) const |
void | operator= (const CalVector &v) |
void | operator+= (const CalVector &v) |
void | operator-= (const CalVector &v) |
void | operator *= (const float d) |
void | operator *= (const CalQuaternion &q) |
Transforms the vector instance by a quaternion. | |
void | operator *= (const CalMatrix &m) |
void | operator/= (const float d) |
bool | operator== (const CalVector &v) const |
bool | operator!= (const CalVector &v) const |
void | blend (float d, const CalVector &v) |
void | clear () |
float | length () const |
float | normalize () |
void | set (float vx, float vy, float vz) |
Public Attributes | |
float | x |
float | y |
float | z |
|
Transforms the vector instance by a quaternion. This function transforms the vector instance by a given quaternion.
|