|
|
On 07/08/2014 10:50 AM, deep125 wrote:
>> Splines have a function-like interface, so IIRC they are fully supported
>> in functions.
>
> Code:
> ----------
>
> #declare MySpline=spline
> {
> linear_spline
> 1 , <0,0,0>
> 2 , <2,2,2>
>
> }
>
> isosurface {
> function{
> MySpline(1).x
> }
> contained_by { box { -2, 2 } }
> }
> -------------------
>
> Error
>
> Parse Error: Expected 'operand', spline identifier found instead
>
> How to attach a spline?
>
>
you have not properly defined MySpline as a function ....
http://wiki.povray.org/content/Reference:Function#Functions_and_Macros
Post a reply to this message
|
|