From 843b2263219e132751c064f8baee62e9edb085af Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Wed, 17 Mar 2010 19:19:22 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@292 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/reactphysics3d/mathematics/constants.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sources/reactphysics3d/mathematics/constants.h b/sources/reactphysics3d/mathematics/constants.h index 942fe552..97c573a0 100644 --- a/sources/reactphysics3d/mathematics/constants.h +++ b/sources/reactphysics3d/mathematics/constants.h @@ -20,11 +20,13 @@ #ifndef CONSTANTS_H #define CONSTANTS_H -// Constant used for the precision +// Libraries +#include + +// Constants const double EPSILON = 0.00001; const double ONE_MINUS_EPSILON = 0.99999; - -// Pi constant -const double PI = 3.14159265; +const double INFINITY_CONST = std::numeric_limits::infinity(); +const double PI = 3.14159265; // Pi constant #endif