#include <vhdVector3.h>
Public Member Functions | |
| vhdVector3 (vhtReal fX, vhtReal fY, vhtReal fZ) | |
| vhdVector3 (const vhdVector3 &rkVector) | |
| vhtReal & | operator[] (int index) const |
| vhdVector3 & | operator= (const vhdVector3 &rkVector) |
| bool | operator== (const vhdVector3 &rkVector) const |
| bool | operator!= (const vhdVector3 &rkVector) const |
| vhdVector3 | operator+ (const vhdVector3 &rkVector) const |
| vhdVector3 | operator- (const vhdVector3 &rkVector) const |
| vhdVector3 | operator * (vhtReal fScalar) const |
| vhdVector3 | operator * (const vhdVector3 &rhs) const |
| vhdVector3 | operator/ (vhtReal fScalar) const |
| vhdVector3 | operator- () const |
| vhdVector3 & | operator+= (const vhdVector3 &rkVector) |
| vhdVector3 & | operator-= (const vhdVector3 &rkVector) |
| vhdVector3 & | operator *= (vhtReal fScalar) |
| vhdVector3 & | operator/= (vhtReal fScalar) |
| vhdVector3 & | operator *= (const vhdVector3 &rkVector) |
| vhdVector3 & | operator/= (const vhdVector3 &rkVector) |
Public Attributes | |
| vhtReal | x |
| vhtReal | y |
| vhtReal | z |
Friends | |
| vhdVector3 | operator * (vhtReal fScalar, const vhdVector3 &rkVector) |
| Friend multiplication operator for scalar-vector multiplication. | |
| std::ostream & | operator<< (std::ostream &o, const vhdVector3 &v) |
Definition at line 42 of file vhdVector3.h.
|
|
Assigns the value of the other vector.
|
|
||||||||||||
|
Function for writing to a stream. Definition at line 90 of file vhdVector3.h. |
1.3.8