Move some code from Branches/OpenCL to trunk, related to threading and OpenCL:
Added Demos/ThreadingDemo showing how to use the cross-platform btThreadSupportInterface under Windows. Added Demos/ParticlesOpenCL showing how to run the NVidia particle demo under OpenCL implementations by AMD, NVidia and MiniCL (CPU)
This commit is contained in:
@@ -123,6 +123,7 @@ struct GL_SliderControl : public GL_DialogControl
|
||||
btScalar m_lowerLimit;
|
||||
btScalar m_upperLimit;
|
||||
btTypedConstraint* m_constraint;
|
||||
btScalar m_fraction;
|
||||
|
||||
const char* m_sliderText;
|
||||
public:
|
||||
@@ -140,7 +141,7 @@ public:
|
||||
|
||||
virtual void draw(int& parentHorPos,int& parentVertPos,btScalar deltaTime);
|
||||
|
||||
btScalar btGetFraction();
|
||||
btScalar btGetFraction() { return m_fraction; }
|
||||
|
||||
btScalar getLowerLimit()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user