|
![](/i/fill.gif) |
On Sun, 24 Feb 2002 03:13:34 +0100, "Rune" <run### [at] mobilixnet dk>
wrote:
> My question is - is the below syntax too ugly or would it be acceptable for
> a macro included in the POV-Ray distribution?
>
> #declare SplineArray =
> array[7*2] {
> 0.0*y, <0,1,2>,
> x, <1,5,0>,
> x, <4,1,0>,
I don't like those vectors at begining. What about something like :
spline{
cubic_spline
SplineFrom(0)
SplineTo(.9,array[4]{<0,1,2>,<1,5,0>,<4,1,0>,<0,2,1>})
SplineFrom(1)
SplineTo(2,array[3]{<0,0,1>,<6,5,4>,<4,3,2>})
}
ABX
Post a reply to this message
|
![](/i/fill.gif) |