|
|
Hi. Sorry, I'm not a math major, but working POV (and computer graphics in
general) I sure as hell wish I was!!!
I want to rotate a cube around an axis that passes through two opposites
corners.
I've tried this code but it doesn't work.
box {
<-1, -1, -1> <1, 1, 1>
rotate 45*y
rotate 35.2644*x
rotate clock*360*y
rotate -35.2644*x
rotate -45*y
}
I'm expecting the rotation axis to be s(-1, -1, -1), e(1, 1, 1).
Any help greatly appreciated!
Dave.
Post a reply to this message
|
|