mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
reduce dependency: PhysicsServerCommandProcessor -> PhysicsCommandProcessorInterface
This commit is contained in:
parent
851ca5bfb3
commit
68c2253f82
@ -2,7 +2,7 @@
|
|||||||
#define PHYSICS_CLIENT_TCP_H
|
#define PHYSICS_CLIENT_TCP_H
|
||||||
|
|
||||||
#include "PhysicsDirect.h"
|
#include "PhysicsDirect.h"
|
||||||
#include "PhysicsServerCommandProcessor.h"
|
#include "PhysicsCommandProcessorInterface.h"
|
||||||
|
|
||||||
class TcpNetworkedPhysicsProcessor : public PhysicsCommandProcessorInterface
|
class TcpNetworkedPhysicsProcessor : public PhysicsCommandProcessorInterface
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define PHYSICS_CLIENT_UDP_H
|
#define PHYSICS_CLIENT_UDP_H
|
||||||
|
|
||||||
#include "PhysicsDirect.h"
|
#include "PhysicsDirect.h"
|
||||||
#include "PhysicsServerCommandProcessor.h"
|
#include "PhysicsCommandProcessorInterface.h"
|
||||||
|
|
||||||
class UdpNetworkedPhysicsProcessor : public PhysicsCommandProcessorInterface
|
class UdpNetworkedPhysicsProcessor : public PhysicsCommandProcessorInterface
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
#include "../CommonInterfaces/CommonGUIHelperInterface.h"
|
#include "../CommonInterfaces/CommonGUIHelperInterface.h"
|
||||||
#include "SharedMemoryBlock.h"
|
#include "SharedMemoryBlock.h"
|
||||||
|
|
||||||
#include "PhysicsServerCommandProcessor.h"
|
|
||||||
|
#include "PhysicsCommandProcessorInterface.h"
|
||||||
|
|
||||||
//number of shared memory blocks == number of simultaneous connections
|
//number of shared memory blocks == number of simultaneous connections
|
||||||
#define MAX_SHARED_MEMORY_BLOCKS 2
|
#define MAX_SHARED_MEMORY_BLOCKS 2
|
||||||
|
Loading…
Reference in New Issue
Block a user