|
|
In article <Xns### [at] 204213191226>,
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> as I alread told, I know it, but it needs quite un-comfortable work around.
> I must repleace
A simple macro would make things easier:
#macro Tri(PA, PB, PC, Trans)
#local TransFn = function {transform {Trans}}
triangle {
TransFn(PA.x, PA.y, PA.z),
TransFn(PB.x, PB.y, PB.z),
TransFn(PC.x, PC.y, PC.z)
}
#end
mesh {
#declare BladeTrans = transform {...}
Tri(A, B, C, BladeTrans)
Tri(A, B, C, BladeTrans)
Tri(A, B, C, BladeTrans)
...
}
Again, no need for a new feature, you just don't know how to use the
existing features properly.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|