POV-Ray : Newsgroups : povray.unofficial.patches : Splineproblem in MegaPov : Re: Splineproblem in MegaPov Server Time
2 Sep 2024 16:19:05 EDT (-0400)
  Re: Splineproblem in MegaPov  
From: Nieminen Juha
Date: 11 Dec 1999 19:02:54
Message: <3852e62e@news.povray.org>
ingo <ing### [at] homenl> wrote:
: #declare SPL= spline{

:    SPL(clock).y

  Btw, I still don't like the way these splines are used. They are declared
as identifiers but used as macros or functions. This is very inconsistent
with the rest of the povray syntax.
  I propose a syntax change to this. Perhaps square brackets [] instead
of the regular () ?
  That would be similar to how arrays are used. The spline is a bit like
an array, isn't it?

#declare SPL = spline { ... }

... translate SPL[clock] ...

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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