Jump to content

Computer Graphics: Difference between revisions

Line 29: Line 29:
Below is a rotation about the Z axis by angle <math>\theta</math>.<br>
Below is a rotation about the Z axis by angle <math>\theta</math>.<br>
<math>
<math>
\begin{bmatrix}
R = \begin{bmatrix}
\cos(\theta) & -\sin(\theta) & 0 & 0\\
\cos(\theta) & -\sin(\theta) & 0 & 0\\
\sin(\theta) & \cos(\theta) & 0 & 0\\
\sin(\theta) & \cos(\theta) & 0 & 0\\