mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
57f50f1778
Add a test for PhysicsLoopBack.
16 lines
354 B
C++
16 lines
354 B
C++
#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 = loopBack->connect();
|
|
return (b3PhysicsClientHandle )loopBack;
|
|
}
|
|
|