|
|
On Tue, 25 Jun 2002 18:37:22 -0500, Thorsten Froehlich wrote:
> You would do
>
> #macro fun(obj)
> (obj.max_extent+obj.min_extent+sin(....)+....)
> #end
I think he meant something like:
xxx {xxxx
fun(self)
}
The macro might be written that way, but it wouldn't be useable without
declaring a temporary version of the object first.
This version should work fine with that syntax though, but only because a
macro isn't a function:
#macro fun()
(max_extent + min_extent + sin(...) + ...)
#end
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: <chr### [at] tagpovrayorg>
WWW: http://homepage.mac.com/chrishuff/
Post a reply to this message
|
|