Skip to main content
GameDev.net gamedev.net
🔒 Locked

trigonometry question

Started by rswan Jun 27, 2010 at 5:07 PM 0 replies 400+ views
Original Post
rswan
rswan
Hi All;

I have a square in the x-z plane (red square in the diagram).

I first rotate around the x axis by angle A (to the green square in the diagram).

I then rotate around its perpendicular at point (1, 0, 0) by angle B (to blue square in the diagram).

I would now like to rotate the blue square around its edge that started out on the x-axis (highlighted in white) until the corner that started out at (1, 0, 1) is in the x-z plane (i.e. the corner with the ball is at y = 0). Can anyone tell me what the angle of rotation is?

Thanks,
Robert


Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.