POV-Ray : Newsgroups : povray.beta-test : [doc] spline quick ref : Re: [doc] spline quick ref Server Time
29 Jul 2024 20:13:23 EDT (-0400)
  Re: [doc] spline quick ref  
From: Robert Chaffe
Date: 11 Mar 2002 22:21:13
Message: <3c8d7429@news.povray.org>
> [snip]
>
> The problem with my replacement is that it looks like "spline{}" is valid
but
> of course it isn't. I don't know how to write it to be correct. Perhaps
> something like:
>
> spline creation:
>   spline { [SPLINE_TYPE] PATH_LIST }
> spline inheritence:
>   spline { SPLINE_IDENTIFIER [SPLINE_TYPE] [PATH_LIST] }

By "optional" for the path_list, I suppose you mean only when a spline
identifier is used?

My approach to the syntax for the Quick Reference would then be:
SPLINE:
    spline { SPLINE_ITEMS }
SPLINE_ITEMS:
    [SPLINE_TYPE]  PATH_LIST  |
    SPLINE_IDENTIFIER  [SPLINE_TYPE]  [PATH_LIST]
. . .

Robert


Post a reply to this message

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