Propane::Math::Matrix< N, T > Class Template Reference

A square matrix class for managing 3D (NOT INTENDED for scientific purposes or speed). More...

#include <Matrix.h>

List of all members.

Public Member Functions

 Matrix ()
 Dumb constructor.
 Matrix (float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)
 Constructor with values.
 Matrix (const Matrix &m)
 Copy constructor.
Matrixoperator= (const Matrix &m)
 Set operator.
T * operator[] (size_t i)
 Index operator.
const T * operator[] (size_t i) const
 Constant index operator.
void fromColumnMajor (float *fourByFour)
 Make a matrix from column-major representation (like OpenGL projection-matrix).

Static Public Member Functions

static Matrix< N, T > & identity ()
 get the identity matrix

Public Attributes

m_Data [N][N]
 The actual components of the matrix.


Detailed Description

template<size_t N, class T>
class Propane::Math::Matrix< N, T >

A square matrix class for managing 3D (NOT INTENDED for scientific purposes or speed).


The documentation for this class was generated from the following file:
Generated on Sun Jan 14 16:49:12 2007 for Propane Injector by  doxygen 1.4.6