POV-Ray : Newsgroups : povray.general : prod function Server Time
1 Aug 2024 10:15:32 EDT (-0400)
  prod function (Message 1 to 2 of 2)  
From: Kenneth Hutson
Subject: prod function
Date: 29 Sep 2005 16:40:22
Message: <433c5136$1@news.povray.org>
Hi Group,
I'm hoping someone would show me an example using this function.
Thanks


Post a reply to this message

From: Slime
Subject: Re: prod function
Date: 29 Sep 2005 20:22:39
Message: <433c854f$1@news.povray.org>
> I'm hoping someone would show me an example using this function.


prod(i, 1, 3, otherfunction(i))

is equivalent to

otherfunction(1) * otherfunction(2) * otherfunction(3)

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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