fix build system problems, Dynamica build for Mac OSX, buyoancy demo

This commit is contained in:
erwin.coumans
2009-01-12 23:26:07 +00:00
parent 1320b5f2f6
commit ab879b0528
5 changed files with 9 additions and 11 deletions

View File

@@ -168,7 +168,7 @@ void Init_Bowl (HfFluidDemo* fluidDemo)
{
btScalar y = btScalar(j - fluid->getNumNodesLength()/2)/btScalar(fluid->getNumNodesLength()*2);
btScalar yh = amplitude * (y * y) + btScalar(5.0);
btScalar gHeight = max(xh,yh);
btScalar gHeight = btMax(xh,yh);
int index = fluid->arrayIndex (i, j);
ground[index] = gHeight;
btScalar wHeight = btScalar(0.0f);