Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
9662ae4baThis file is pinned to the selected release. Download the original to open it in your design tool.
#include "PhysicsLoopBackC_API.h"
#include "PhysicsLoopBack.h"
//think more about naming. The b3ConnectPhysicsLoopback
b3PhysicsClientHandle b3ConnectPhysicsLoopback(int key)
{
PhysicsLoopBack* loopBack = new PhysicsLoopBack();
loopBack->setSharedMemoryKey(key);
bool connected;
connected = loopBack->connect();
return (b3PhysicsClientHandle)loopBack;
}