POV-Ray : Newsgroups : povray.unofficial.patches : Can't pass spline to macro Server Time
13 Jun 2024 13:46:23 EDT (-0400)
  Can't pass spline to macro (Message 1 to 2 of 2)  
From: Rune
Subject: Can't pass spline to macro
Date: 26 Sep 2003 04:18:34
Message: <3f73f65a$1@news.povray.org>
// Works in POV-Ray 3.5 but not in MegaPov 1.0
#declare MySpline = spline {0, x, 1, y}
#macro MyMacro (Spline,Value)
   Spline(Value)
#end
#declare MyVector = MyMacro(MySpline,0.5);

Isn't this a bug?

Rune
--
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com **updated Jul 25**
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

From: ABX
Subject: Re: Can't pass spline to macro
Date: 26 Sep 2003 13:18:52
Message: <b0t8nvo3uoavaf0da3kn3lpp7d6a1r3tou@4ax.com>
On Fri, 26 Sep 2003 10:19:54 +0200, "Rune" <run### [at] runevisioncom> wrote:
> Isn't this a bug?

Precisely, known bug already reported in this group and fixed for next
release. IIRC, the workaround for MegaPOV 1.0 is to put spline{} around spline
name. Anyway, thanks for informing.

ABX


Post a reply to this message

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