Load 32-bit or 64-bit BulletSim Windows library automatically as appropriate.

This uses the same approach as ODE.
radams, if this doesn't work for you please feel free to revert.
xassetservice
Justin Clark-Casey (justincc) 2012-02-21 04:10:39 +00:00
parent a15b00d3ef
commit daee2eda93
3 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ public class BSPlugin : IPhysicsPlugin
{ {
if (_mScene == null) if (_mScene == null)
{ {
if (Util.IsWindows())
Util.LoadArchSpecificWindowsDll("BulletSim.dll");
_mScene = new BSScene(sceneIdentifier); _mScene = new BSScene(sceneIdentifier);
} }
return (_mScene); return (_mScene);