[Opal-commits] opal/samples/car main.cpp,1.20,1.21
Status: Inactive
Brought to you by:
tylerstreeter
|
From: tylerstreeter <tyl...@us...> - 2005-02-22 19:47:02
|
Update of /cvsroot/opal/opal/samples/car In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30562/samples/car Modified Files: main.cpp Log Message: made Data object types a private member; updated samples with new changes Index: main.cpp =================================================================== RCS file: /cvsroot/opal/opal/samples/car/main.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** main.cpp 12 Feb 2005 22:31:43 -0000 1.20 --- main.cpp 22 Feb 2005 19:46:18 -0000 1.21 *************** *** 75,81 **** //gSimulator->setDefaultAngularDamping(80.0); gGround = gSimulator->createSolid(); gGround->setStatic(true); ! gGround->addPlane(gGroundParams); //create ramp --- 75,89 ---- //gSimulator->setDefaultAngularDamping(80.0); + // Create and setup a Solid for the ground. gGround = gSimulator->createSolid(); gGround->setStatic(true); ! ! // Add a plane Shape to the Solid. ! opal::PlaneShapeData planeData; ! planeData.abcd[0] = gGroundParams[0]; ! planeData.abcd[1] = gGroundParams[1]; ! planeData.abcd[2] = gGroundParams[2]; ! planeData.abcd[3] = gGroundParams[3]; ! gGround->addShape(planeData); //create ramp |