mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
c0c4c8ba3f
remove btMultiSapBroadphase.* make collisionFilterGroup/collisionFilterMark int (instead of short int)
24 lines
439 B
C++
24 lines
439 B
C++
#include "PhysicsDirectC_API.h"
|
|
|
|
#include "PhysicsDirect.h"
|
|
|
|
#include "PhysicsServerCommandProcessor.h"
|
|
|
|
|
|
|
|
//think more about naming. The b3ConnectPhysicsLoopback
|
|
b3PhysicsClientHandle b3ConnectPhysicsDirect()
|
|
{
|
|
PhysicsServerCommandProcessor* sdk = new PhysicsServerCommandProcessor;
|
|
|
|
PhysicsDirect* direct = new PhysicsDirect(sdk,true);
|
|
bool connected;
|
|
connected = direct->connect();
|
|
return (b3PhysicsClientHandle )direct;
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|