add OpenCL PairBench (missing GUI, so not really useful)

This commit is contained in:
erwincoumans
2015-05-01 00:18:49 -07:00
parent aec360f158
commit aad9a5a396
9 changed files with 1174 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ struct ImplicitClothExample : public CommonExampleInterface
struct GUIHelperInterface* m_guiHelper;
int m_option;
Cloth* m_cloth = 0;
Cloth* m_cloth;
@@ -34,7 +34,8 @@ struct ImplicitClothExample : public CommonExampleInterface
public:
ImplicitClothExample(struct GUIHelperInterface* helper, int option)
:m_guiHelper(helper),
m_option(option)
m_option(option),
m_cloth(0)
{
}
virtual void initPhysics();