This commit is contained in:
sloop
2016-07-26 05:13:51 +08:00
committed by GitHub
parent d784f0d6b7
commit ec488ac867

View File

@@ -122,7 +122,7 @@ Matrix 是一个矩阵,肯定会涉及到一些比较麻烦的理论知识,
以点(10,10)为例我们将x缩放到原来到0.5倍y缩放到原来到2倍我们可以轻易到算出结果:(10x0.5, 10x2) = (5, 20)
计算公式:
**计算公式:**
![](http://latex.codecogs.com/png.latex?
$$
@@ -149,7 +149,7 @@ y
$$)
计算示例:
**计算示例:**
![](http://latex.codecogs.com/png.latex?
$$
@@ -179,7 +179,7 @@ $$)
错切有水平错切(平行X轴)和垂直错切(平行Y轴),或者是两者叠加。
计算公式:
**计算公式:**
![](http://latex.codecogs.com/png.latex?
$$
@@ -210,14 +210,14 @@ X = x + Skew_X * y
Y = Skew_Y * x + y
```
计算示例:
**计算示例:**
![](http://latex.codecogs.com/png.latex?
$$
\\left [
\\begin{matrix}
20\\\\
5
25\\\\
10
\\end{1}
\\right ]
=
@@ -230,8 +230,8 @@ $$
.
\\left [
\\begin{matrix}
10\\\\
5
5\\\\
10
\\end{1}
\\right ]
$$)
@@ -239,6 +239,38 @@ $$)
#### b.旋转
**计算公式:**
逆时针旋转 a 度。
![](http://latex.codecogs.com/png.latex?
$$
\\left [
\\begin{matrix}
X\\\\
Y
\\end{1}
\\right ]
=
\\left [
\\begin{matrix}
cos(a) & -sin(a) \\\\
sin(a) & cos(a)
\\end{1}
\\right ]
.
\\left [
\\begin{matrix}
x\\\\
y
\\end{1}
\\right ]
$$)
**计算示例:**