- Main Page
- Modules
- Classes
- Files
- Related Pages

- File List
- File Members

# src/vectorMath/vmath.h File Reference

`#include <cmath>`
`#include <cstring>`
`#include <iostream>`
`#include <cassert>`
`#include "../config.h"`

Go to the source code of this file.

## Classes
class | Vector2< T >
class | Vector3< T >
class | Vector4< T >
class | Matrix3< T >
class | Matrix4< T >
class | Quaternion< T >
## Defines
#define | M_PI 3.14159265358979323846
#define | DEG2RAD(x) ((x * M_PI) / 180.0)
#define | RAD2DEG(x) ((x / M_PI) * 180.0)
#define | EPSILON epsilon
## Typedefs
typedef Vector2< float > | Vector2f
| Two dimensional Vector of floats.
typedef 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 = 0.0001

## Define Documentation

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

#define EPSILON epsilon

#define M_PI 3.14159265358979323846

#define RAD2DEG | ( | x |  | ) | ((x / M_PI) * 180.0)

## 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 = 0.0001