|
![](/i/fill.gif) |
In article <7e1unus8h9amgktm4ktrh7b1g77bgmevnb@4ax.com>,
ABX <abx### [at] abx art pl> wrote:
> Yes, 'path' sounds nice. So one vote for 'connection' and one for 'path'. Any
> other vote? My heart is now for 'path_type FLOAT' becouse it is made with
> short words and I don't like that I have to reserve new token for every new
> type of interpolation. There are also subtypes for interpolations when I can't
> choose nice names. For example there are two toroidal connection types: one by
> Ron Parker and one by Slime (IIRC). Making type float is better IMO. What do
> you think?
I find keywords much easier to read and write than numbers, I feel that
you should only use a number for a numeric value. And I really hope you
meant "path_type INT". (there's no difference as far as POV is
concerned, but for documentation you would want to say it is an integer
value)
I would do something like:
type multisphere
type catmull_rom
type cubic
type linear
...
"type" already exists, and spline names can be used for all splines
instead of just in the sphere_sweep shape, so you aren't adding a huge
number of one-use keywords.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |