Add 'createCollisionObjectGraphicsObject' API for CommonPhysicsSetup Add 'pthread' dependency as workaround for NVIDIA graphics driver issue (see //See https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642 )
22 lines
440 B
C++
22 lines
440 B
C++
#ifndef TEST_JOINT_TORQUE_SETUP_H
|
|
#define TEST_JOINT_TORQUE_SETUP_H
|
|
|
|
#include "../../../Demos/CommonMultiBodySetup.h"
|
|
|
|
struct TestJointTorqueSetup : public CommonMultiBodySetup
|
|
{
|
|
btMultiBody* m_multiBody;
|
|
|
|
public:
|
|
|
|
TestJointTorqueSetup();
|
|
virtual ~TestJointTorqueSetup();
|
|
|
|
virtual void initPhysics(GraphicsPhysicsBridge& gfxBridge);
|
|
|
|
virtual void stepSimulation(float deltaTime);
|
|
|
|
};
|
|
#endif //TEST_JOINT_TORQUE_SETUP_H
|
|
|