Matrix.h File Reference

#include <assert.h>
#include <math.h>
#include "Vector.h"

Include dependency graph for Matrix.h:

Go to the source code of this file.

Classes

class  Matrix< Type, size >
 Square matrix. More...

Defines

#define _USE_MATH_DEFINES

Enumerations

enum  Axis { AXIS_X, AXIS_Y, AXIS_Z }

Functions

template<class Type>
Vector operator * (Matrix< Type, 4 > &m, const Vector<> &v)
template<class Type>
Matrix< Type, 4 > makeRotationMatrix (Type angle, Axis axis)
template<class Type>
void rotate (Matrix< Type, 4 > &m, Type angle, Axis axis)
 Rotate the matrix m by angle radians around axis.
template<class Type>
void translate (Matrix< Type, 4 > &m, const Vector< Type > &aTranslateBy)


Define Documentation

#define _USE_MATH_DEFINES
 


Enumeration Type Documentation

enum Axis
 

Enumerator:
AXIS_X 
AXIS_Y 
AXIS_Z 


Function Documentation

template<class Type>
Matrix<Type, 4> makeRotationMatrix Type  angle,
Axis  axis
 

template<class Type>
Vector operator * Matrix< Type, 4 > &  m,
const Vector<> &  v
 

template<class Type>
void rotate Matrix< Type, 4 > &  m,
Type  angle,
Axis  axis
 

Rotate the matrix m by angle radians around axis.

template<class Type>
void translate Matrix< Type, 4 > &  m,
const Vector< Type > &  aTranslateBy
 


Generated on Mon Dec 19 00:13:28 2005 for Visualization by  doxygen 1.4.5