[ODE] Bug in dCylinder.cpp ?

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


Hello Michal,

Friday, February 14, 2003, 6:34:36 PM, you wrote:

MB> File: contrib/dCylinder/dCylinder.cpp (current CVS version)
MB> Function: dGeomCylinderSetParams
MB> dUASSERT (g && dGeomGetClass(g) == dCCylinderClass,"argument not a
MB> ccylinder");
MB> The assert triggers, because obviously dCylinder is NOT ccylinder.

Yes it is a bug in current CVS should be

 dUASSERT (g && dGeomGetClass(g) == dCylinderClassUser,"argument not a cylinder");

 Because dCylinderClassUser used as identifier for dCylinder geometry
 class.
       Thank you for your message.




 

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