POV-Ray : Newsgroups : povray.newusers : Basic question : Re: Basic question Server Time
28 Jul 2024 14:23:00 EDT (-0400)
  Re: Basic question  
From: Warp
Date: 30 Sep 2008 11:42:20
Message: <48e248db@news.povray.org>
joost_1972 <joo### [at] hotmailcom> wrote:
> 2) Is there the possibility to show the results of functions you use in macro's.
> I've made a macro which involves rotating a triangle by the result of the
> function (atan2), but it doesn't render as I expected it to. I would like to
> see the plain number result of the function, in stead of just the final render,
> because there could be numerous reasons why my triangle is not ending up where I
> expected it to (for all I know it could be rotating 20 full circles and ending
> up in nearly the same position it started in...)

#debug concat("The value is: ", str(atan2(5), 0, -1), "\n")

-- 
                                                          - Warp


Post a reply to this message

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