|
![](/i/fill.gif) |
In article <39ad1040@news.povray.org>, Warp <war### [at] tag povray org>
wrote:
> I think that the best place for those is the global_settings block.
Actually, if they are added, it would probably be better to have them
switchable from any point in the file, like the #version keyword.
Otherwise, include files would require certain global_settings and could
conflict with each other.
But it probably isn't a very good idea, since it will add the
uncertainty of *what* degree measurement is being used. I know there are
inconsistencies between functions and transforms, and even between
functions, but these may be easier to deal with than having everything
changeable.
A better solution might be degrees() and radians() functions which
automatically convert the values being input and would work anywhere,
regardless of the default measurement used, unfortunately, those names
are already being used by functions which really should be named
something like deg2rad() and rad2deg().
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |