3D Trig question
May 9, 2007 8:19 AM
Subscribe
3D Trig question: I have a 2D square in 3D space (a Face). I know the positions of the four corner vertices in form x,y,z. How do I calculate the rotation in degrees (Euler angles) as relative from the center of the face?
I want to end up with degrees of rotations around x-axis,y-axis,z-axis. Bonus if you can write it in pseudocode.
posted by pooya to computers & internet (7 comments total)
3 users marked this as a favorite
posted by dmd at 8:57 AM on May 9, 2007