vector4d Class Template Reference

#include <vector4d.h>

template<class T>
class irr::core::vector4d< T >

Public Member Functions

Data Fields


Constructor & Destructor Documentation

vector4d (  )  [inline]

vector4d ( const T &  nx,
const T &  ny,
const T &  nz,
const T &  nw 
) [inline]

vector4d ( const vector4d< T > &  other  )  [inline]


Member Function Documentation

T dotProduct ( const vector4d< T > &  other  )  const [inline]

bool equals ( const vector4d< T > &  other  )  [inline]

void getAs4Values ( T *  array  )  [inline]

Useful for setting in shader constants for example. The fourth value will always be 0.

void invert (  )  [inline]

vector4d<T> operator * ( const T &  v  )  const [inline]

vector4d<T> operator * ( const vector4d< T > &  other  )  const [inline]

vector4d<T>& operator *= ( const T &  v  )  [inline]

vector4d<T>& operator *= ( const vector4d< T > &  other  )  [inline]

bool operator!= ( const vector4d< T > &  other  )  const [inline]

vector4d<T> operator+ ( const vector4d< T > &  other  )  const [inline]

vector4d<T>& operator+= ( const vector4d< T > &  other  )  [inline]

vector4d<T> operator- ( const vector4d< T > &  other  )  const [inline]

vector4d<T> operator- (  )  const [inline]

vector4d<T>& operator-= ( const vector4d< T > &  other  )  [inline]

vector4d<T> operator/ ( const T &  v  )  const [inline]

vector4d<T> operator/ ( const vector4d< T > &  other  )  const [inline]

vector4d<T>& operator/= ( const T &  v  )  [inline]

vector4d<T>& operator/= ( const vector4d< T > &  other  )  [inline]

bool operator<= ( const vector4d< T > &  other  )  const [inline]

vector4d<T>& operator= ( const vector4d< T > &  other  )  [inline]

bool operator== ( const vector4d< T > &  other  )  const [inline]

bool operator>= ( const vector4d< T > &  other  )  const [inline]

void set ( const vector4d< T > &  p  )  [inline]

void set ( const T &  nx,
const T &  ny,
const T &  nz,
const T &  nw 
) [inline]


Field Documentation

T W

T X

T Y

T Z


Generated on Fri Apr 27 14:47:03 2007 for IrrSpintz by  doxygen 1.5.1-p1