|
 |
Just discovered that your full original code example (WITH #debug) works OK, if
the #local inside the macro is changed to #declare. Why that should matter, I
don't know.
#macro make_spline()
#declare _s = spline {
quadratic_spline
0, <0, 0, 0>,
1, <0, 0, 1>,
2, <1, 0, 2>,
3, <2, 1, 3>
}
_s
#end
#local myspline = spline { make_spline() }
#debug concat("_pt=<", vstr(3, myspline(0), ",", 0, 3), ">\n")
Post a reply to this message
|
 |