work-in-progress
add UDP network connection for physics client <-> server. also set spinning friction in rolling friction demo (otherwise objects may keep on spinning forever)
This commit is contained in:
18
examples/SharedMemory/PhysicsClientSharedMemory2.h
Normal file
18
examples/SharedMemory/PhysicsClientSharedMemory2.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user