mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
9708392322
add UDP network connection for physics client <-> server. also set spinning friction in rolling friction demo (otherwise objects may keep on spinning forever)
18 lines
444 B
C++
18 lines
444 B
C++
#ifndef PHYSICS_CLIENT_SHARED_MEMORY2_H
|
|
#define PHYSICS_CLIENT_SHARED_MEMORY2_H
|
|
|
|
#include "PhysicsDirect.h"
|
|
|
|
class PhysicsClientSharedMemory2 : public PhysicsDirect
|
|
{
|
|
class SharedMemoryCommandProcessor* m_proc;
|
|
|
|
public:
|
|
PhysicsClientSharedMemory2(SharedMemoryCommandProcessor* proc);
|
|
virtual ~PhysicsClientSharedMemory2();
|
|
|
|
void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem);
|
|
|
|
};
|
|
|
|
#endif //PHYSICS_CLIENT_SHARED_MEMORY2_H
|