2016-08-29 22:31:11 +02:00
|
|
|
#ifndef MESHUP_CONFIG_H
|
|
|
|
#define MESHUP_CONFIG_H
|
|
|
|
|
2018-10-15 20:42:27 +02:00
|
|
|
#ifdef NEW_SIMPLE_MATH
|
|
|
|
|
2016-08-29 22:31:11 +02:00
|
|
|
#include "SimpleMath/SimpleMath.h"
|
|
|
|
|
2018-10-13 22:23:21 +02:00
|
|
|
typedef SimpleMath::Matrix<float, 2, 1> Vector2f;
|
|
|
|
typedef SimpleMath::Matrix<float, 2, 2> Matrix22f;
|
2016-08-29 22:31:11 +02:00
|
|
|
|
2018-10-13 22:23:21 +02:00
|
|
|
typedef SimpleMath::Matrix<float, 3, 1> Vector3f;
|
|
|
|
typedef SimpleMath::Matrix<float, 3, 3> Matrix33f;
|
2016-08-29 22:31:11 +02:00
|
|
|
|
2018-10-13 22:23:21 +02:00
|
|
|
typedef SimpleMath::Matrix<float, 4, 1> Vector4f;
|
|
|
|
typedef SimpleMath::Matrix<float, 4, 4> Matrix44f;
|
2016-08-29 22:31:11 +02:00
|
|
|
|
2018-10-13 22:23:21 +02:00
|
|
|
typedef SimpleMath::GL::Quaternion Quaternion;
|
2016-08-29 22:31:11 +02:00
|
|
|
|
2018-10-13 22:23:21 +02:00
|
|
|
typedef SimpleMath::Matrix<float> VectorNf;
|
|
|
|
typedef SimpleMath::Matrix<float> MatrixNNf;
|
2016-08-29 22:31:11 +02:00
|
|
|
|
2018-10-13 22:23:21 +02:00
|
|
|
typedef SimpleMath::Matrix<double, 3, 1> Vector3d;
|
|
|
|
typedef SimpleMath::Matrix<double, 3, 3> Matrix33d;
|
2017-03-11 22:16:12 +01:00
|
|
|
|
2018-10-13 22:23:21 +02:00
|
|
|
typedef SimpleMath::Matrix<double> VectorNd;
|
|
|
|
typedef SimpleMath::Matrix<double> MatrixNNd;
|
2017-03-11 22:16:12 +01:00
|
|
|
|
2018-10-15 20:42:27 +02:00
|
|
|
#else
|
|
|
|
|
|
|
|
#include "SimpleMathOld/SimpleMath.h"
|
|
|
|
|
|
|
|
typedef SimpleMath::Fixed::Matrix<float, 2, 1> Vector2f;
|
|
|
|
typedef SimpleMath::Fixed::Matrix<float, 2, 2> Matrix22f;
|
|
|
|
|
|
|
|
typedef SimpleMath::Fixed::Matrix<float, 3, 1> Vector3f;
|
|
|
|
typedef SimpleMath::Fixed::Matrix<float, 3, 3> Matrix33f;
|
|
|
|
|
|
|
|
typedef SimpleMath::Fixed::Matrix<float, 4, 1> Vector4f;
|
|
|
|
typedef SimpleMath::Fixed::Matrix<float, 4, 4> Matrix44f;
|
|
|
|
|
|
|
|
typedef SimpleMath::GL::Quaternion Quaternion;
|
|
|
|
|
|
|
|
typedef SimpleMath::Dynamic::Matrix<float> VectorNf;
|
|
|
|
typedef SimpleMath::Dynamic::Matrix<float> MatrixNNf;
|
|
|
|
|
|
|
|
typedef SimpleMath::Fixed::Matrix<double, 3, 1> Vector3d;
|
|
|
|
typedef SimpleMath::Fixed::Matrix<double, 3, 3> Matrix33d;
|
|
|
|
|
|
|
|
typedef SimpleMath::Dynamic::Matrix<double> VectorNd;
|
|
|
|
typedef SimpleMath::Dynamic::Matrix<double> MatrixNNd;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-08-29 22:31:11 +02:00
|
|
|
#endif
|