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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user