Ravelin
Constants.h
1 /****************************************************************************
2  * Copyright 2013 Evan Drumwright
3  * This library is distributed under the terms of the Apache V2.0
4  * License (obtainable from http://www.apache.org/licenses/LICENSE-2.0).
5  ****************************************************************************/
6 
7 #ifndef _RAVELIN_CONSTANTS_H
8 #define _RAVELIN_CONSTANTS_H
9 
10 #include <limits>
11 #include <cmath>
12 #include <Ravelin/Vector3f.h>
13 #include <Ravelin/Vector3d.h>
14 
15 namespace Ravelin {
16 
17 // enums
18 enum Transposition { eNoTranspose, eTranspose };
19 
20 // constants
21 const unsigned LOG_DYNAMICS = 4;
22 const double EPS_DOUBLE = std::sqrt(std::numeric_limits<double>::epsilon());
23 const float EPS_FLOAT = std::sqrt(std::numeric_limits<float>::epsilon());
24 
25 }
26 
27 #endif