POV-Ray : Newsgroups : povray.newusers : Using mathematical functions in co-ordinates : Re: Using mathematical functions in co-ordinates Server Time
29 Jul 2024 10:25:39 EDT (-0400)
  Re: Using mathematical functions in co-ordinates  
From: Trevor G Quayle
Date: 9 Feb 2006 21:20:00
Message: <web.43ebf7c6e0fac392c8947640@news.povray.org>
"RareBeast" <mdc### [at] bigpondcom> wrote:
> Hi all.
>
> In setting up some billiard balls in a triangle formation, I discovered that
> I needed to make the z co-ordinate the square root of 3.
>
> I have been using < 0, 0, 1.713> which is fine, but I was wondering if there
> is anyway of doing it like < 0, 0, SQRT(3) > or some such.
>
> Thanks

<0,0,pow(3,1/3)>

-tgq


Post a reply to this message

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