compile bullet with double precision

ghiboz
Posts: 11
Joined: Mon Oct 12, 2009 11:47 am

compile bullet with double precision

Post by ghiboz »

hi all!
I wish compile bullet lib with double precision... where I need to define BT_USE_DOUBLE_PRECISION?
I need to add as preprocessor definition to all the projects? (bulletCollision, bulletDynamics, bulletfileloader, linearmath..)

thanks in advance
cybermax
Posts: 21
Joined: Tue Sep 07, 2010 12:38 am

Re: compile bullet with double precision

Post by cybermax »

In CMake you can check USE_DOUBLE_PRECISION.
I never tested it, but I thought about trying it many times :)
Nickert
Posts: 25
Joined: Sat Dec 29, 2012 7:20 pm

Re: compile bullet with double precision

Post by Nickert »

You need to define this in btScalar.h, or use CMake to set USE_DOUBLE_PRECISION.
ghiboz
Posts: 11
Joined: Mon Oct 12, 2009 11:47 am

Re: compile bullet with double precision

Post by ghiboz »

thanks