On Wed, 28 Nov 2001 12:03:21 -0500, "Anders K." <and### [at] f2scom>
wrote:
>> #declare GR = 0.5*(sqrt(5)-1);
>I've also seen the golden ratio defined as 0.5*(sqrt(5)+1). This is one
>problem including this as a constant in POV-Ray.
By definition it should be between 0 and 1. And of course,
0.5*(sqrt(5) - 1) = 1 / ((0.5*sqrt(5) + 1))
and
0.5*(sqrt(5) + 1) = 1 / ((0.5*sqrt(5) - 1))
(not simplified on purpose)
so you can always
#declare GR2 = 1/GR;
:)
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|