X11OpenGLWindow: create stencil buffer for shadows in OpenGL2 mode (OpenGL3 uses shadow maps)
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 )
This commit is contained in:
21
Demos3/bullet2/MultiBodyDemo/TestJointTorqueSetup.h
Normal file
21
Demos3/bullet2/MultiBodyDemo/TestJointTorqueSetup.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user