POV-Ray : Newsgroups : povray.general : Issue with function parameters : Re: Issue with function parameters Server Time
3 Aug 2024 12:14:21 EDT (-0400)
  Re: Issue with function parameters  
From: Christoph Hormann
Date: 13 Feb 2004 17:04:03
Message: <qhtvf1-iqb.ln1@triton.imagico.de>
Thorsten Froehlich wrote:
> [...]
> 
> The solution is that the include files should not use generic names for
> function variable names.  A good solution would be to use all lower case
> variable names with a prefix, i.e. "math__a" (note the *two* underscore
> chars, this makes sure this will never be a keyword) instead of "A" in
> math.inc .  This would work because the documentation already suggests to
> the user to never use all lower case names.

In all functions with only 3 or less parameters (like the atan2d()) you 
can simply use the standard x,y,z.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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