POV-Ray : Newsgroups : povray.advanced-users : Create spline : Create spline Server Time
3 Jul 2024 04:42:39 EDT (-0400)
  Create spline  
From: twister
Date: 2 Mar 2009 08:40:03
Message: <web.49abe083a6290068c9ee64130@news.povray.org>
Hi all,

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

Thanks in advance,
twister


Post a reply to this message

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