Maratis Engine
Public Member Functions | Public Attributes | Friends

MVector4 Class Reference

#include <MVector4.h>

List of all members.

Public Member Functions

 MVector4 (void)
 MVector4 (float newX, float newY, float newZ, float newW)
 MVector4 (const float *values)
 MVector4 (const MVector4 &vec)
 MVector4 (const MVector3 &vec)
 MVector4 (const MColor &color)
MVector4 operator+ (const MVector4 &vec) const
MVector4 operator- (const MVector4 &vec) const
MVector4 operator* (const float value) const
MVector4 operator/ (const float value) const
bool operator== (const MVector4 &vec) const
bool operator!= (const MVector4 &vec) const
void operator+= (const MVector4 &vec)
void operator-= (const MVector4 &vec)
void operator*= (const float value)
void operator/= (const float value)
MVector4 operator- (void) const
MVector4 operator+ (void) const
 operator float * () const
 operator const float * () const
 operator MVector3 ()
void set (float newX, float newY, float newZ, float newW)
void loadIdentity (void)
float dotProduct (const MVector4 &vec)
MVector4 lerp (const MVector4 &vec, float factor) const

Public Attributes

float x
float y
float z
float w

Friends

MVector4 operator* (float factor, const MVector4 &vec)

Constructor & Destructor Documentation

MVector4::MVector4 ( void  ) [inline]
MVector4::MVector4 ( float  newX,
float  newY,
float  newZ,
float  newW 
) [inline]
MVector4::MVector4 ( const float *  values) [inline]
MVector4::MVector4 ( const MVector4 vec) [inline]
MVector4::MVector4 ( const MVector3 vec) [inline]
MVector4::MVector4 ( const MColor color)

Member Function Documentation

float MVector4::dotProduct ( const MVector4 vec) [inline]
MVector4 MVector4::lerp ( const MVector4 vec,
float  factor 
) const [inline]
void MVector4::loadIdentity ( void  ) [inline]
MVector4::operator const float * ( ) const [inline]
MVector4::operator float * ( ) const [inline]
MVector4::operator MVector3 ( )
bool MVector4::operator!= ( const MVector4 vec) const [inline]
MVector4 MVector4::operator* ( const float  value) const [inline]
void MVector4::operator*= ( const float  value) [inline]
MVector4 MVector4::operator+ ( const MVector4 vec) const [inline]
MVector4 MVector4::operator+ ( void  ) const [inline]
void MVector4::operator+= ( const MVector4 vec) [inline]
MVector4 MVector4::operator- ( const MVector4 vec) const [inline]
MVector4 MVector4::operator- ( void  ) const [inline]
void MVector4::operator-= ( const MVector4 vec) [inline]
MVector4 MVector4::operator/ ( const float  value) const [inline]
void MVector4::operator/= ( const float  value) [inline]
bool MVector4::operator== ( const MVector4 vec) const [inline]
void MVector4::set ( float  newX,
float  newY,
float  newZ,
float  newW 
) [inline]

Friends And Related Function Documentation

MVector4 operator* ( float  factor,
const MVector4 vec 
) [friend]

Member Data Documentation

float MVector4::w
float MVector4::x
float MVector4::y
float MVector4::z

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines