Skip to content

Commit 2dbd8a9

Browse files
committed
fix:修复latex渲染错误
1 parent 0ebbfeb commit 2dbd8a9

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

  • content/post/Games101/HomeWork1-3

content/post/Games101/HomeWork1-3/index.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,7 @@ math: true
2020
实际上M和V矩阵都是让世界物体做仿射变换,那什么是仿射变换?
2121
简单来说就是平移+旋转+放缩三种变换的统称,我们用矩阵表示就是:
2222

23-
$$
24-
\begin{bmatrix}
25-
x' \\
26-
y' \\
27-
z' \\
28-
1
29-
\end{bmatrix}
30-
=
31-
\begin{bmatrix}
32-
& & & t_x \\
33-
& R & & t_y \\
34-
& & & t_z \\
35-
0 & 0 & 0 & 1
36-
\end{bmatrix}
37-
\begin{bmatrix}
38-
x \\
39-
y \\
40-
z \\
41-
1
42-
\end{bmatrix}
43-
$$
23+
$$\begin{bmatrix}x' \\y' \\z' \\1\end{bmatrix}=\begin{bmatrix}R & \mathbf{t} \\\mathbf{0}^T & 1\end{bmatrix}\begin{bmatrix}x \\y \\z \\1\end{bmatrix}$$
4424
其中$R$表示旋转/缩放的部分,$t_x,t_y,t_z$是平移。
4525
为了更直观,我们把三种基本变换拆开写:
4626
平移矩阵:

0 commit comments

Comments
 (0)