[ODE] XODE - should angles be in degrees or radians?
cledwith at d-a-s.com
cledwith at d-a-s.com
Thu Mar 18 15:29:39 MST 2004
> Ack! There you go with the **BAD** idea of having options again.
>
> Options don't help *anyone*. They will make for a poor file format
> and not very robust applications code.
>
I completely agree that it should be one or the other. Can't believe I'm
one of the few supporting radians though! Not trying to start an angle
measure flame war here :) but I vote for radians, for
two reasons: 1) it's what mathematicians and physicists use as the measure
of angle, and 2) more importantly, it's what ODE uses (precisely because
of
reason 1).
Please read: http://mathforum.org/library/drmath/view/52546.html
I understand there are arguments about human-readability, but really,
that's pretty subjective. If I were writing a reader and looked into this
new format for the first time, and I saw this in the config file:
<angle="2.5">
I would just _expect_ that the measure was in radians, because it's
natural for a physics library to use radians, not degrees. And especially
if I'd read the ODE docs and saw that every function took radians! Why
require a conversion of a value brought in from a config file before ODE
can use it?
-Chris
More information about the ODE
mailing list