POV-Ray : Newsgroups : povray.general : splines-- unexpected comma requirement : Re: splines-- unexpected comma requirement Server Time
29 Apr 2025 09:18:11 EDT (-0400)
  Re: splines-- unexpected comma requirement  
From: Bald Eagle
Date: 28 Apr 2025 12:30:00
Message: <web.680fabe8d1e0268ab00a87a025979125@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

> (in my opinion) for users to not take advantage of a "lax" parser.  if you have
> a list, then well, comma-separate the items (you're not a lawyer, are you ?
> </grin>).  where you '#declare', even if the statement parses without the
> semicolon, be consistent and write one anyway.  "help" the parser rather than
> making it work harder ;-).

Betterer practice I think would be to just dump it all into a mixed array, (or
array of arrays), and then use a loop to define the spline.

Single-use containers are wasteful and annoying.

Best would be if we could use arrays as actual matrices - because I'm sure some
interesting things could be done with neat matrix magic tricks.

- BW


Post a reply to this message

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