|
| Vector3f () |
| Default constructor; does not initialize the vector. More...
|
|
| Vector3f (const Triton::Vector3 &v) |
| Construct a single precision vector from a double precision one. More...
|
|
| Vector3f (float px, float py, float pz) |
| Constructs a Vector3f from the specified single-precision floating point x, y, and z values. More...
|
|
float TRITONAPI | Length () |
| Returns the length of this vector. More...
|
|
void TRITONAPI | Normalize () |
| Scales the vector to be of length 1.0. More...
|
|
double TRITONAPI | Dot (const Vector3f &v) const |
| Returns the dot product of this vector with the specified Vector3. More...
|
|
Vector3f TRITONAPI | operator - (const Vector3f &v) const |
| Subtracts the specified vector from this vector, and returns the result. More...
|
|
Vector3f TRITONAPI | operator+ (const Vector3f &v) const |
| Adds this vector to the specified vector, and returns the result. More...
|
|
Vector3f TRITONAPI | operator * (const Vector3f &v) const |
| Multiplies the components of two vectors together, and returns the result. More...
|
|
Vector3f TRITONAPI | operator * (float n) const |
| Scales each x,y,z value of the vector by a constant n, and returns the result. More...
|
|
A 3D single-precision vector class, and its operations.