POV-Ray : Newsgroups : povray.general : <no subject> : <no subject> Server Time
29 Jul 2024 14:26:23 EDT (-0400)
  <no subject>  
From: jkennedy12
Date: 16 Apr 2011 20:20:01
Message: <web.4daa31fec23a6d93c82a5bf0@news.povray.org>
This is part of the code I'm writing.

#declare RailArray = array[N];
#declare tmp = 0;
#while(tmp<=N)
        #declare RailArray[temp] = 0//Spline_1(temp/N);
#end

It gives me an error when I call the part inside the loop. N is equal to 10.
Spline_1 is obviously a spline. I can't figure out why it doesn't like this.


Post a reply to this message

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