POV-Ray : Newsgroups : povray.advanced-users : Create spline : Re: Create spline Server Time
3 Jul 2024 04:48:23 EDT (-0400)
  Re: Create spline  
From: Warp
Date: 2 Mar 2009 11:09:46
Message: <49ac04ca@news.povray.org>
twister <twi### [at] o2pl> wrote:
> Is there any possibility to write a #macro that returns spline by value? I have
> made such macro but I have to pass a parameter to the macro that will be a
> place for spline. I excpect something like that:

> #declare new_spline = createSpline(myArray);

> Now I have to do it like that:

> #declare new_spline = 0;
> createSpline(myArr, new_spline)
> //now I have new_spline initialized

  I can't really understand the problem you are having. Care to give an
example of a macro implementation which doesn't work as you want?

-- 
                                                          - Warp


Post a reply to this message

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