Skip to content

Commit

Permalink
fix a rediculous cyl-cyl bug spotted by John Miles <[email protected]>. …
Browse files Browse the repository at this point in the history
…also

added a readme comment noting that the code exhibits signs of not being
brilliantly conceived/tested.


git-svn-id: https://opende.svn.sourceforge.net/svnroot/opende/trunk/ode@593 685f7672-210f-0410-90b4-fe3ad19314fe
  • Loading branch information
aspirin committed Feb 6, 2004
1 parent de1e2d4 commit c547374
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/dCylinder/dCylinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ int dCollideCylCyl (dxGeom *o1, dxGeom *o2, int flags,
dReal cylRadius1,cylRadius2;
dReal cylLength1,cylLength2;
dGeomCylinderGetParams(o1,&cylRadius1,&cylLength1);
dGeomCylinderGetParams(o1,&cylRadius2,&cylLength2);
dGeomCylinderGetParams(o2,&cylRadius2,&cylLength2);
int num = dCylCyl (dGeomGetPosition(o1),dGeomGetRotation(o1),cylRadius1,cylLength1,
dGeomGetPosition(o2),dGeomGetRotation(o2),cylRadius2,cylLength2,
normal,&depth,&code,flags & NUMC_MASK,contact,skip);
Expand Down
7 changes: 6 additions & 1 deletion contrib/dCylinder/readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

readme.txt

WARNING: THIS IS NOT VERY RELIABLE CODE. IT HAS BUGS. YOUR
SUCCESS MAY VARY. CONTRIBUTIONS OF FIXES/REWRITES ARE
WELCOME.

///////////////////////////////////////////////////////////////////////

Cylinder geometry class.

New in this version:
Expand Down

0 comments on commit c547374

Please sign in to comment.