|
![](/i/fill.gif) |
Thanks, great work. Just one comment:
#macro xyz(px,py,pz)
#local vx = vrotate(vrotate(vrotate(x,px*x),py*y),pz*z);
#local vy = vrotate(vrotate(vrotate(y,px*x),py*y),pz*z);
#local vz = vrotate(vrotate(vrotate(z,px*x),py*y),pz*z);
getrotation(vx,vy,vz)
#end
could be done somewhat shorter like this
#macro xyz(px,py,pz)
<px,py,pz>
#end
;-)
I imagine this is also faster, especially when used a lot.
Frits van Bommel
Post a reply to this message
|
![](/i/fill.gif) |