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:
@@ -146,6 +146,7 @@ SET(BulletExampleBrowser_SRCS
|
||||
|
||||
../SharedMemory/PhysicsServer.cpp
|
||||
../SharedMemory/PhysicsClientSharedMemory.cpp
|
||||
../SharedMemory/PhysicsClientSharedMemory_C_API.cpp
|
||||
../SharedMemory/PhysicsClient.cpp
|
||||
../SharedMemory/PhysicsClientC_API.cpp
|
||||
../SharedMemory/PhysicsServerExample.cpp
|
||||
|
||||
@@ -134,9 +134,9 @@ int gSharedMemoryKey=-1;
|
||||
|
||||
int gPreferredOpenCLDeviceIndex=-1;
|
||||
int gPreferredOpenCLPlatformIndex=-1;
|
||||
int gGpuArraySizeX=15;
|
||||
int gGpuArraySizeY=15;
|
||||
int gGpuArraySizeZ=15;
|
||||
int gGpuArraySizeX=45;
|
||||
int gGpuArraySizeY=55;
|
||||
int gGpuArraySizeZ=45;
|
||||
|
||||
//#include <float.h>
|
||||
//unsigned int fp_control_state = _controlfp(_EM_INEXACT, _MCW_EM);
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#include "../Importers/ImportURDFDemo/ImportURDFSetup.h"
|
||||
#include "../Importers/ImportSDFDemo/ImportSDFSetup.h"
|
||||
#include "../Importers/ImportSTLDemo/ImportSTLSetup.h"
|
||||
#include "../Importers/ImportBullet/SerializeSetup.h"
|
||||
|
||||
#include "LinearMath/btAlignedAllocator.h"
|
||||
|
||||
|
||||
@@ -34,6 +36,8 @@ int main(int argc, char* argv[])
|
||||
exampleBrowser->registerFileImporter(".sdf", ImportSDFCreateFunc);
|
||||
exampleBrowser->registerFileImporter(".obj", ImportObjCreateFunc);
|
||||
exampleBrowser->registerFileImporter(".stl", ImportSTLCreateFunc);
|
||||
exampleBrowser->registerFileImporter(".bullet", SerializeBulletCreateFunc);
|
||||
|
||||
|
||||
clock.reset();
|
||||
if (init)
|
||||
|
||||
@@ -63,6 +63,14 @@ project "App_BulletExampleBrowser"
|
||||
"../SharedMemory/PhysicsServer.cpp",
|
||||
"../SharedMemory/PhysicsServerSharedMemory.cpp",
|
||||
"../SharedMemory/PhysicsClientSharedMemory.cpp",
|
||||
"../SharedMemory/PhysicsClientSharedMemory_C_API.cpp",
|
||||
"../SharedMemory/PhysicsClientSharedMemory_C_API.h",
|
||||
"../SharedMemory/PhysicsClientSharedMemory2.cpp",
|
||||
"../SharedMemory/PhysicsClientSharedMemory2.h",
|
||||
"../SharedMemory/PhysicsClientSharedMemory2_C_API.cpp",
|
||||
"../SharedMemory/PhysicsClientSharedMemory2_C_API.h",
|
||||
"../SharedMemory/SharedMemoryCommandProcessor.cpp",
|
||||
"../SharedMemory/SharedMemoryCommandProcessor.h",
|
||||
"../SharedMemory/SharedMemoryInProcessPhysicsC_API.cpp",
|
||||
"../SharedMemory/PhysicsClient.cpp",
|
||||
"../SharedMemory/PosixSharedMemory.cpp",
|
||||
|
||||
Reference in New Issue
Block a user