POV-Ray : Newsgroups : povray.bugreports : Cannot predeclare spline for function : Re: Cannot predeclare spline for function Server Time
6 Nov 2025 04:56:55 EST (-0500)
  Re: Cannot predeclare spline for function  
From: Thorsten
Date: 4 Nov 2025 11:30:05
Message: <690a2a0d$1@news.povray.org>
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.

Thorsten


Post a reply to this message

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