mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
12 lines
290 B
C++
12 lines
290 B
C++
|
#include "PhysicsClientSharedMemory_C_API.h"
|
||
|
|
||
|
#include "PhysicsClientSharedMemory.h"
|
||
|
|
||
|
b3PhysicsClientHandle b3ConnectSharedMemory(int key)
|
||
|
{
|
||
|
PhysicsClientSharedMemory* cl = new PhysicsClientSharedMemory();
|
||
|
cl->setSharedMemoryKey(key);
|
||
|
cl->connect();
|
||
|
return (b3PhysicsClientHandle)cl;
|
||
|
}
|