POV-Ray : Newsgroups : povray.beta-test : atan() not working ? : Re: atan() not working ? Server Time
31 Jul 2024 04:24:53 EDT (-0400)
  Re: atan() not working ?  
From: Ron Parker
Date: 9 Sep 2001 12:16:43
Message: <slrn9pn5fc.2re.ron.parker@fwi.com>
On Sun, 9 Sep 2001 14:20:06 +0200, Philippe Debar wrote:
>Problem : can't use atan() float function
[...]
>Workaround : use atan2(,) which works fine

This, and a related bug with the hyperbolic and inverse hyperbolic functions,
should be fixed in the next beta.

--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.