POV-Ray : Newsgroups : povray.general : Problem with parameters : Re: Problem with parameters Server Time
31 Jul 2024 00:33:58 EDT (-0400)
  Re: Problem with parameters  
From: Tor Olav Kristensen
Date: 26 Feb 2008 20:57:44
Message: <47c4c398@news.povray.org>
Martin wrote:
...
> #macro DoCalc(pZ,pY,I,N) //function arbitrarily choosen
>   #local pY= y*cA*sin(2*pi*cFr*I/N+cFs);
>   #local pZ= z*L*I/N;
> #end
...

Note that this macro should (AFAIK) have no effect in any scene.

If it has, then that might be a bug in the POV-Ray version you
are using.

(You are just setting 2 local variables that are "lost" right
afterwards when the macro is exited.)

-- 
Tor Olav
http://subcube.com


Post a reply to this message

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