POV-Ray : Newsgroups : povray.bugreports : Cannot predeclare spline for function : Re: Cannot predeclare spline for function Server Time
6 Nov 2025 04:56:54 EST (-0500)
  Re: Cannot predeclare spline for function  
From: jr
Date: 4 Nov 2025 12:00:00
Message: <web.690a30df672aec27475fba6a6cde94f1@news.povray.org>
hi,

Thorsten <tho### [at] trfde> wrote:
> On 04.11.2025 12:55, jr wrote:
> > it actually does work, though you have to tell the function:
> >
> > #declare S_PX2 = function {spline{SPL2_PX}};
>
> Exactly! And that is the logical way to do this, too. First tell the
> parser that you actually want a spline function, then you can use a
> spline. The regular syntax declares a plain function, not a spline function.

agree with the "consistent" point in the other post, the situation is exactly
like, say, with a 'pigment {}'.


regards, jr.


Post a reply to this message

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