2016-11-04 20:15:10 +00:00
|
|
|
|
|
|
|
#include "PhysicsClientSharedMemory2.h"
|
|
|
|
#include "PosixSharedMemory.h"
|
|
|
|
#include "Win32SharedMemory.h"
|
|
|
|
#include "Bullet3Common/b3Logging.h"
|
|
|
|
#include "Bullet3Common/b3Scalar.h"
|
|
|
|
|
|
|
|
#include "SharedMemoryCommandProcessor.h"
|
|
|
|
|
|
|
|
PhysicsClientSharedMemory2::PhysicsClientSharedMemory2(SharedMemoryCommandProcessor* proc)
|
2018-09-23 21:17:31 +00:00
|
|
|
: PhysicsDirect(proc, false)
|
2016-11-04 20:15:10 +00:00
|
|
|
{
|
|
|
|
m_proc = proc;
|
|
|
|
}
|
|
|
|
PhysicsClientSharedMemory2::~PhysicsClientSharedMemory2()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void PhysicsClientSharedMemory2::setSharedMemoryInterface(class SharedMemoryInterface* sharedMem)
|
|
|
|
{
|
|
|
|
if (m_proc)
|
|
|
|
{
|
|
|
|
m_proc->setSharedMemoryInterface(sharedMem);
|
|
|
|
}
|
|
|
|
}
|