Fix issue that prevented us from compiling with double precision with CMake
This commit is contained in:
parent
68958d0ed1
commit
e3719b32e5
|
@ -29,7 +29,7 @@
|
||||||
/// ReactPhysiscs3D namespace
|
/// ReactPhysiscs3D namespace
|
||||||
namespace reactphysics3d {
|
namespace reactphysics3d {
|
||||||
|
|
||||||
#if defined(DOUBLE_PRECISION_ENABLED) // If we are compiling for double precision
|
#if defined(IS_DOUBLE_PRECISION_ENABLED) // If we are compiling for double precision
|
||||||
typedef double decimal;
|
typedef double decimal;
|
||||||
#else // If we are compiling for single precision
|
#else // If we are compiling for single precision
|
||||||
typedef float decimal;
|
typedef float decimal;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user