git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@292 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2010-03-17 19:19:22 +00:00
parent bcdf9e92dd
commit 843b226321

View File

@ -20,11 +20,13 @@
#ifndef CONSTANTS_H #ifndef CONSTANTS_H
#define CONSTANTS_H #define CONSTANTS_H
// Constant used for the precision // Libraries
#include <limits>
// Constants
const double EPSILON = 0.00001; const double EPSILON = 0.00001;
const double ONE_MINUS_EPSILON = 0.99999; const double ONE_MINUS_EPSILON = 0.99999;
const double INFINITY_CONST = std::numeric_limits<double>::infinity();
// Pi constant const double PI = 3.14159265; // Pi constant
const double PI = 3.14159265;
#endif #endif