POV-Ray : Newsgroups : povray.general : Spline vector function : Re: Spline vector function Server Time
26 Apr 2024 16:52:23 EDT (-0400)
  Re: Spline vector function  
From: William F Pokorny
Date: 20 Nov 2016 07:46:26
Message: <58319b22$1@news.povray.org>
On 11/19/2016 02:55 PM, clipka wrote:
> Am 19.11.2016 um 19:37 schrieb John Greenwood:
>
>
> It's not a bug, it's a feature.
>
> Re-formatting gives the following code:
>
>   #declare Place = function {
>     spline {
>     linear_spline
>       -4, <-10,0,-2>-2,
>       <0,0,-1> 0,
>       <1,0,0> 2.0,
>       <0,1,1>
>     }
>   }
>
> Since `<-10,0,-2>-2` is a valid vector expression, that's how POV-Ray
> will interpret it.
>
> Using more commas should fix the ambiguity of the code and thus solve
> the problem.
>
Ah, yes... Thanks.

Bill P.


Post a reply to this message

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