[Opal-commits] opal/src/ODE ODESolid.cpp,1.84,1.85
Status: Inactive
Brought to you by:
tylerstreeter
|
From: tylerstreeter <tyl...@us...> - 2005-04-27 02:28:27
|
Update of /cvsroot/opal/opal/src/ODE In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2054/src/ODE Modified Files: ODESolid.cpp Log Message: fixed bug in one of the Matrix44r invert function (the one that wasn't being used anywhere); added a smart tolerance-checking function Index: ODESolid.cpp =================================================================== RCS file: /cvsroot/opal/opal/src/ODE/ODESolid.cpp,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** ODESolid.cpp 12 Apr 2005 06:46:44 -0000 1.84 --- ODESolid.cpp 27 Apr 2005 02:28:19 -0000 1.85 *************** *** 1078,1083 **** bool ODESolid::isInertiaNonSymmetric(const dMass& mass)const { ! if (opal::abs(mass.I[0] - mass.I[5]) > globals::OPAL_EPSILON ! || opal::abs(mass.I[5] - mass.I[10]) > globals::OPAL_EPSILON) { return true; --- 1078,1083 ---- bool ODESolid::isInertiaNonSymmetric(const dMass& mass)const { ! if (!areEqual(mass.I[0], mass.I[5]) ! || !areEqual(mass.I[5], mass.I[10])) { return true; |