English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

When you need to rotate an object by(45,30,20) degrees for respective axis, X,Y,Z

Is it right to first do the following on every coordinate:

x' = x
y' = y cos(45) - z sin(45)
z' = y sin (45) + z cos(45)

Then do the following for each coordinate:
x' = x cos(30) + z sin(30)
y' = y
z' = -x sin(30) + z cos (30)

After that we do the following on each coordinate:
x' = x cos(20) - y sin(20)
y'= x sin(20) + y cos(20)
z' = z

I don't know what to do. Please help.
Thank you very much.

2007-01-18 11:32:06 · 1 answers · asked by new hope 2 in Computers & Internet Other - Computers

1 answers

No, do Z then Y and then X

2007-01-19 22:04:02 · answer #1 · answered by fiat 1 · 0 0

fedest.com, questions and answers