|
![](/i/fill.gif) |
On Fri, 23 Jun 2000 13:23:38 -0500, Chris Huff wrote:
>It should be pretty easy to implement an "#angle_unit" keyword that
>behaves like #version, you could get the current unit and save it,
>switch to your preferred unit inside your include file, and switch back
>without the user of the include knowing about it. Or you could use one
>unit in some places and another in others, depending on what you are
>doing. It could support degrees, radians, and whatever else you want, as
>well as a "standard" setting(degrees for rotate, radians for trig).
>
>Most calculators allow you to do this, why not POV?
Because we've heard of "locality of reference?" Specifically, if I see
you taking the sine of an angle, how do I know which units you're in
without reading the whole file up to that point? Better to use macros
that make your intention clear.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
![](/i/fill.gif) |