Rotation around the Y axis
1 answer
The two answers you link to are the same, right down to different notation. The angle q in one link corresponds to the angle -a in the other, and since
sin(-q) = -sin(q)
for any q
, we have that
sin(a) = -sin(q)
which introduces the difference in sign. The siggraph link also has a 4-dimensional matrix that allows translations, but the last row and column of this can be ignored if you want pure rotation.
+4
source to share