[ODE] Bug in dCylinder.cpp ?

slipch slipch <slipch at gsc-game.kiev.ua>
Mon Feb 17 01:41:08 2003


Could this be fixed this in CVS?

void dGeomCylinderSetParams (dGeomID g, dReal radius, dReal length)
{
  dUASSERT (g && dGeomGetClass(g) == dCylinderClassUser ,"argument not a cylinder");
  dAASSERT (radius > 0 && length > 0);
  dxCylinder *c = (dxCylinder*) dGeomGetClassData(g);
  c->radius = radius;
  c->lz = length;
}


-- 
Best regards,
Konstantin Slipchenko                            mailto:slipch@gsc-game.kiev.ua