add ImplicitCloth demo, by Stan Melax
add SimpleOpenGL3App, used in ImplicitCloth demo. The Bullet 3.x demos should use this as a template, it will clean up some of the mess.
This commit is contained in:
@@ -78,7 +78,7 @@ __kernel void integrateMotionKernel( int numParticles,
|
||||
if(pos.y < (worldMin.y + 2*particleRad))
|
||||
{
|
||||
pos.y = worldMin.y + 2*particleRad;
|
||||
vel.y *= -1.f;//1000*boundaryDamping;
|
||||
vel.y *= boundaryDamping;
|
||||
}
|
||||
/*
|
||||
if(pos.y > (worldMax.y - 2*particleRad))
|
||||
|
||||
Reference in New Issue
Block a user