POV-Ray : Newsgroups : povray.general : Spline problem : Re: Spline problem Server Time
19 Nov 2024 18:08:25 EST (-0500)
  Re: Spline problem  
From: Christopher James Huff
Date: 19 Jan 2002 16:29:31
Message: <chrishuff-1EEB89.16302619012002@netplex.aussie.org>
In article <3c49df0d@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   I'll let it as an exercise how complicated that would need to be done if
> commas were mandatory.

Not very. I always do it anyway, for possible forwards compatability in 
case a future version makes them required.

spline {cubic_spline
    #declare Ind = 0;
    #while(Ind < 9)
        Ind, <Ind, Ind*Ind, 0>
        #declare Ind = Ind + 1;
    #end
    Ind, <Ind, Ind*Ind, 0>
}

-- 
 -- 
Christopher James Huff <chr### [at] maccom>


Post a reply to this message

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