#include <cmath>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
#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 class Vector2< int > | Vector2i |
Two dimensional Vector of ints. | |
typedef Vector3< float > | Vector3f |
Three dimensional Vector of floats. | |
typedef Vector3< double > | Vector3d |
Three dimensional Vector of doubles. | |
typedef Vector3< int > | Vector3i |
Three dimensional Vector of ints. | |
typedef Vector4< float > | Vector4f |
Three dimensional Vector of floats. | |
typedef Vector4< double > | Vector4d |
Three dimensional Vector of doubles. | |
typedef Vector4< int > | Vector4i |
Three dimensional Vector of ints. | |
typedef Matrix3< float > | Matrix3f |
Matrix 3x3 of floats. | |
typedef Matrix3< double > | Matrix3d |
Matrix 3x3 of doubles. | |
typedef Matrix3< int > | Matrix3i |
Matrix 3x3 of int. | |
typedef Matrix4< float > | Matrix4f |
Matrix 4x4 of floats. | |
typedef Matrix4< double > | Matrix4d |
Matrix 4x4 of doubles. | |
typedef Matrix4< int > | Matrix4i |
Matrix 4x4 of int. | |
typedef Quaternion< float > | Quatf |
typedef Quaternion< double > | Quatd |
Variables | |
const double | epsilon = 4.37114e-05 |
#define DEG2RAD | ( | x | ) | ((x * M_PI) / 180.0) |
#define EPSILON epsilon |
#define M_PI 3.14159265358979323846 |
typedef Quaternion<double> Quatd |
typedef Quaternion<float> Quatf |
const double epsilon = 4.37114e-05 |