POV-Ray : Newsgroups : povray.general : Spline vector function : Re: Spline vector function Server Time
25 Apr 2024 04:32:28 EDT (-0400)
  Re: Spline vector function  
From: clipka
Date: 20 Nov 2016 10:56:35
Message: <5831c7b3$1@news.povray.org>
Am 20.11.2016 um 16:34 schrieb omniverse:

> Looking at the documentation, spline examples leave out the trailing commas but
> the spline definition denotes them as optional (without final comma).
> 
> So to be sure other things don't allow a final comma, which is what I had
> expected, I tried doing that with sor, lathe and sphere_sweep. Sure enough,
> parse error. No doubt countless times I've dealt with this comma error thing in
> the past.
> 
> I wonder if spline is the only thing allowing that last ,
> And wondering if it makes more sense to allow that for everything listing
> vectors or exclude the possibility. Of course I would have to lean toward
> allowing it, thinking if sections of vector lists were generated externally and
> added or subtracted somehow, else the error would occur.

I'm a bit surprised about your findings, as it was my impression that
POV-Ray generally allowed a final comma.

Can you report your findings as an issue on
https://github.com/POV-Ray/povray/issues so we don't lose track of this?
Thanks.


Post a reply to this message

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