#ifndef MESHUP_CONFIG_H #define MESHUP_CONFIG_H #define NEW_SIMPLE_MATH #ifdef NEW_SIMPLE_MATH #include "SimpleMath/SimpleMath.h" typedef SimpleMath::Matrix Vector2f; typedef SimpleMath::Matrix Matrix22f; typedef SimpleMath::Matrix Vector3f; typedef SimpleMath::Matrix Matrix33f; typedef SimpleMath::Matrix Vector4f; typedef SimpleMath::Matrix Matrix44f; typedef SimpleMath::GL::Quaternion Quaternion; typedef SimpleMath::Matrix VectorNf; typedef SimpleMath::Matrix MatrixNNf; typedef SimpleMath::Matrix Vector3d; typedef SimpleMath::Matrix Matrix33d; typedef SimpleMath::Matrix VectorNd; typedef SimpleMath::Matrix MatrixNNd; #else #include "SimpleMathOld/SimpleMath.h" typedef SimpleMath::Fixed::Matrix Vector2f; typedef SimpleMath::Fixed::Matrix Matrix22f; typedef SimpleMath::Fixed::Matrix Vector3f; typedef SimpleMath::Fixed::Matrix Matrix33f; typedef SimpleMath::Fixed::Matrix Vector4f; typedef SimpleMath::Fixed::Matrix Matrix44f; typedef SimpleMath::GL::Quaternion Quaternion; typedef SimpleMath::Dynamic::Matrix VectorNf; typedef SimpleMath::Dynamic::Matrix MatrixNNf; typedef SimpleMath::Fixed::Matrix Vector3d; typedef SimpleMath::Fixed::Matrix Matrix33d; typedef SimpleMath::Dynamic::Matrix VectorNd; typedef SimpleMath::Dynamic::Matrix MatrixNNd; #endif #endif