POV-Ray : Newsgroups : povray.beta-test : Spline: Cannot copy identifier : Re: Spline: Cannot copy identifier Server Time
30 Jul 2024 18:19:35 EDT (-0400)
  Re: Spline: Cannot copy identifier  
From: Mark Wagner
Date: 12 Oct 2001 00:19:59
Message: <3bc66f6f@news.povray.org>
ingo wrote in message ...
>in news:3bc51a6c@news.povray.org Mark Wagner wrote:
>
>> Try
>>
>> #declare A = 0+Spl(0.3);
>
>Ah, I tried #declare A = Spl(0.3)+<0,0,0>; as a work around that didn't
>work. Yours does.
>
>> This tells the parser you are trying to declare a float or vector,
>> rather than trying to copy a spline.  I don't know why you get the
>> particular error message you do; my development version gives
>> "Expected: RValue to declare".
>
>Shouldn't copying a spline be (made) possible?


It is possible.  Use the following line:

#declare A=spline{Spl}

--
Mark


Post a reply to this message

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