POV-Ray : Newsgroups : povray.advanced-users : Problem concerning the use of array indices inside functions : Re: Problem concerning the use of array indices inside functions Server Time
29 Jul 2024 06:14:37 EDT (-0400)
  Re: Problem concerning the use of array indices inside functions  
From: Slime
Date: 2 May 2003 13:52:07
Message: <3eb2b047$1@news.povray.org>
> If you take this literally then this means you can't use arrays inside
functions,
> but I know that you can use them because my interpolation functions are
> full with them, but they all have fixed indices.


What happens there is that, since the indices are fixed, POV-Ray can
evaluate the array index during parse time, and simply puts the respective
value into the function, rather than the array reference itself.

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


Post a reply to this message

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