[ODE] damping functions
Jean-Sébastien Guay
jean-sebastien.guay at polymtl.ca
Sun Nov 25 11:41:03 MST 2007
Hello,
>> dDamp(dBodyID body, dReal scale);
>
> After some tests here, I'm not sure you'll use the same scale for both
> linear and angular damp; so I left this one out.
Why not:
dBodyDamp(dBodyID body, dReal linearScale, dReal angularScale);
(just a one-line convenience that calls the two others...)
IMHO,
dBodyDamp(body, 0.01, 0.05);
is still shorter and less verbose (but also less explicit, sure...) than
dBodyDampLinear(body, 0.01);
dBodyDampAngular(body, 0.05);
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at polymtl.ca
http://whitestar02.webhop.org/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the ODE
mailing list