mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
24 lines
453 B
C++
24 lines
453 B
C++
#include "PhysicsDirectC_API.h"
|
|
|
|
#include "PhysicsDirect.h"
|
|
|
|
#include "PhysicsServerCommandProcessor.h"
|
|
|
|
|
|
|
|
//think more about naming. The b3ConnectPhysicsLoopback
|
|
B3_SHARED_API b3PhysicsClientHandle b3ConnectPhysicsDirect()
|
|
{
|
|
PhysicsServerCommandProcessor* sdk = new PhysicsServerCommandProcessor;
|
|
|
|
PhysicsDirect* direct = new PhysicsDirect(sdk,true);
|
|
bool connected;
|
|
connected = direct->connect();
|
|
return (b3PhysicsClientHandle )direct;
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|