vmath.h File Reference

#include <cmath>
#include <cstring>
#include <iostream>
#include <cassert>

Go to the source code of this file.

Classes

class  Vector2< T >
 Class for two dimensional vector. More...
class  Vector3< T >
 Class for three dimensional vector. More...
class  Vector4< T >
 Class for four dimensional vector. More...
class  Matrix3< T >
 Class for matrix 3x3. More...
class  Matrix4< T >
 Class for matrix 4x4. More...
class  Quaternion< T >
 Quaternion class implementing some quaternion algebra operations. More...

Defines

#define M_PI   3.14159265358979323846
#define DEG2RAD(x)   ((x * M_PI) / 180.0)
#define EPSILON   epsilon

Typedefs

typedef class Vector2< float > Vector2f
 Two dimensional Vector of floats.
typedef class Vector2< double > Vector2d
 Two dimensional Vector of doubles.
typedef Vector3< float > Vector3f
 Three dimensional Vector of floats.
typedef Vector3< double > Vector3d
 Three dimensional Vector of doubles.
typedef Vector4< float > Vector4f
 Three dimensional Vector of floats.
typedef Vector4< double > Vector4d
 Three dimensional Vector of doubles.
typedef Matrix3< float > Matrix3f
 Matrix 3x3 of floats.
typedef Matrix3< double > Matrix3d
 Matrix 3x3 of doubles.
typedef Matrix4< float > Matrix4f
 Matrix 3x3 of floats.
typedef Matrix4< double > Matrix4d
 Matrix 3x3 of doubles.
typedef Quaternion< float > Quatf
typedef Quaternion< double > Quatd

Variables

const double epsilon = 4.37114e-05


Define Documentation

#define DEG2RAD (  )     ((x * M_PI) / 180.0)

#define EPSILON   epsilon

#define M_PI   3.14159265358979323846


Typedef Documentation

typedef Matrix3<double> Matrix3d

Matrix 3x3 of doubles.

typedef Matrix3<float> Matrix3f

Matrix 3x3 of floats.

typedef Matrix4<double> Matrix4d

Matrix 3x3 of doubles.

typedef Matrix4<float> Matrix4f

Matrix 3x3 of floats.

typedef Quaternion<double> Quatd

typedef Quaternion<float> Quatf

typedef class Vector2< double > Vector2d

Two dimensional Vector of doubles.

typedef class Vector2< float > Vector2f

Two dimensional Vector of floats.

typedef Vector3<double> Vector3d

Three dimensional Vector of doubles.

typedef Vector3<float> Vector3f

Three dimensional Vector of floats.

typedef Vector4<double> Vector4d

Three dimensional Vector of doubles.

typedef Vector4<float> Vector4f

Three dimensional Vector of floats.


Variable Documentation

const double epsilon = 4.37114e-05


Generated on Mon Nov 9 21:47:50 2009 for vmath by  doxygen 1.5.8