24 memset (
mVector, 0,
sizeof (
float ) * 4 );
29 memcpy (
mVector, aVector4,
sizeof (
float ) * 4 );
Inline functions related to 3D Math.
Header for the 4D vector class.
DLL const float *const GetVector4() const
Get a pointer to the internal vector data.
DLL const float & GetZ() const
Get the Z component.
DLL const float & GetW() const
Get the W component.
DLL ~Vector4()
destructor.
DLL Vector4()
Default constructor.
DLL const float & GetY() const
Get the Y component.
DLL const float & GetX() const
Get the X component.
float mVector[4]
X, Y, Z and W components.
<- This is here just for the literals
DLL const bool operator==(const Matrix3x3 &lhs, const Matrix3x3 &rhs)
Compare two 3x3 matrices for equality.