POV-Ray : Newsgroups : povray.beta-test : Spline: Cannot copy identifier : Re: Spline: Cannot copy identifier Server Time
4 Nov 2024 13:02:31 EST (-0500)
  Re: Spline: Cannot copy identifier  
From: Bob H 
Date: 10 Oct 2001 15:55:37
Message: <3bc4a7b9@news.povray.org>
How about #declare A(0.3)=Spl(0.3)?

Actually I'm only replying to point out that in the HTML Help section 6.1.9
Spline Identifiers there is a "quadratc_spline" mispelling (no i).  That,
and how both catmull_rom_spline and b_spline are no longer mentioned yet
still work apparently.  Were those supposed to be removed?  Seems I remember
talk of those changes or something.

Bob H.

"ingo" <ing### [at] homenl> wrote in message
news:Xns### [at] povrayorg...
> The scene below results in:
>
> #declare A=Spl <----ERROR
>
> Parse Error: Cannot copy identifier
>
> ---%<------%<---
> #declare Spl=spline{
>    linear_spline
>    0/4,< 0   , 0  , 0>
>    1/4,< 0.25, 0.5, 0>
>    2/4,< 0.50, 0.1, 0>
>    3/4,< 0.75, 0.9, 0>
>    4/4,< 1   , 0  , 0>
> }
>
> #declare A=Spl(0.3);
> ---%<------%<---
>
>
> Ingo
>
> --
> Photography: http://members.home.nl/ingoogni/
> Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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