Re: damping functions
Jean-Sébastien Guay <[email protected]> Sun, 25 Nov 2007 13:41:03 -0500
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]
http://whitestar02.webhop.org/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.