This commit is contained in:
sloop
2016-08-01 02:00:17 +08:00
committed by GitHub
parent ebed4ed7c6
commit 502525b31f

View File

@@ -61,7 +61,7 @@ Matrix 是一个矩阵,最根本的作用就是坐标转换,下面我们就
由于我们以下大部分的计算都是基于矩阵乘法规则,如果你已经把线性代数还给了老师,请参考一下这里:
**[维基百科-矩阵乘法](https://zh.wikipedia.org/wiki/%E7%9F%A9%E9%99%A3%E4%B9%98%E6%B3%95)**
### 1.缩放
### 1.缩放(Scale)
![](http://latex.codecogs.com/png.latex?$$ x = k_1 x_0 $$)
@@ -108,7 +108,7 @@ $$)
![](http://ww1.sinaimg.cn/large/005Xtdi2jw1f6cnk02zy9j308c0dwwej.jpg)
### 2.错切
### 2.错切(Skew)
错切存在两种特殊错切,水平错切(平行X轴)和垂直错切(平行Y轴)。
@@ -228,7 +228,7 @@ $$)
![](http://ww3.sinaimg.cn/large/005Xtdi2jw1f6cqdu6olfj308c0dwdgi.jpg)
### 3.旋转
### 3.旋转(Rotate)
假定一个点 A(x<sub>0</sub>, y<sub>0</sub>) ,距离原点距离为 r, 与水平轴夹角为 α 度, 绕原点旋转 θ 度, 旋转后为点 B(x, y) 如下:
@@ -284,14 +284,13 @@ $$)
![](http://ww4.sinaimg.cn/large/005Xtdi2jw1f6cpp174twj308c0dwt8s.jpg)
### 4.平移
### 4.平移(Translate)
![](http://latex.codecogs.com/png.latex?$$ x = x_0 + \\Delta x $$)
![](http://latex.codecogs.com/png.latex?$$ y = y_0 + \\Delta y $$)
用矩阵表示:
![](http://latex.codecogs.com/png.latex?
$$