Doubles (#14)
Added a compile time option to use double precision body positions. Most math remains single precision with minimal performance loss. `BOX3D_DOUBLE_PRECISION` Improved accuracy of body inertia computation when shapes are far from the body origin. WARNING: several APIs changed but migration should be straight forward if doubles are not enabled.
This commit is contained in:
parent
a252f03b19
commit
09c65b08ea
115 changed files with 7591 additions and 5295 deletions
|
|
@ -76,7 +76,6 @@ b3Matrix3 b3CylinderInertia( float mass, float radius, float height );
|
|||
b3Matrix3 b3BoxInertia( float mass, b3Vec3 min, b3Vec3 max );
|
||||
|
||||
// Inertia helper (Io = Ic + Is and Ic = Io - Is)
|
||||
b3Matrix3 b3Steiner( float mass, b3Vec3 origin );
|
||||
int b3GetProxySupport( const b3ShapeProxy* proxy, b3Vec3 axis );
|
||||
int b3GetPointSupport( const b3Vec3* points, int count, b3Vec3 axis );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue