Expose btManifoldResult::calculateCombinedRestitution and btManifoldResult::calculateCombinedFriction as static member functions, so it can be reused for speculative contacts

Add speculative contact restitution, but disabled by default, not well tested (btDiscreteDynamicsWorld::setApplySpeculativeContactRestitution)
Add --with-double-precision option to premake build system
This commit is contained in:
erwin.coumans
2012-10-05 21:15:11 +00:00
parent 6be2689f01
commit eaabf1a2c8
5 changed files with 72 additions and 9 deletions

View File

@@ -13,6 +13,12 @@ solution "0BulletSolution"
description = "Disable demos and extras"
}
newoption {
trigger = "with-double-precision",
description = "Enable double precision build"
}
newoption {
trigger = "with-nacl",
description = "Enable Native Client build"
@@ -59,6 +65,10 @@ solution "0BulletSolution"
postfix="";
if _OPTIONS["with-double-precision"] then
defines {"BT_USE_DOUBLE_PRECISION"}
end
if _ACTION == "xcode4" then
if _OPTIONS["ios"] then
postfix = "ios";