|
![](/i/fill.gif) |
"Philippe Debar" wrote:
> // Tired of degrees/radians conversions? try these!
Nice and simple!
As an addition I just made the ones below.
They're not tested, but they should work.
#macro rotater(A)
rotate <degrees(A.x),degrees(A.y),degrees(A.z)>
#end
#macro vrotater(A,B)
vrotate(A,<degrees(B.x),degrees(B.y),degrees(B.z)>)
#end
#macro vaxis_rotater(A,B,C)
vaxis_rotate(A,B,degrees(C))
#end
Greetings,
Rune
---
Updated April 25: http://rsj.mobilixnet.dk
Containing 3D images, stereograms, tutorials,
The POV Desktop Theme, 350+ raytracing jokes,
miscellaneous other things, and a lot of fun!
Post a reply to this message
|
![](/i/fill.gif) |