Skip to content

Commit ec488ac

Browse files
authored
Update
1 parent d784f0d commit ec488ac

1 file changed

Lines changed: 40 additions & 8 deletions

File tree

‎CustomView/Advance/[9]Matrix_Basic.md‎

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Matrix 是一个矩阵,肯定会涉及到一些比较麻烦的理论知识,
122122
123123
以点(10,10)为例,我们将x缩放到原来到0.5倍,y缩放到原来到2倍,我们可以轻易到算出结果:(10x0.5, 10x2) = (5, 20)
124124
125-
计算公式:
125+
**计算公式:**
126126
127127
![](http://latex.codecogs.com/png.latex?
128128
$$
@@ -149,7 +149,7 @@ y
149149
$$)
150150
151151
152-
计算示例:
152+
**计算示例:**
153153
154154
![](http://latex.codecogs.com/png.latex?
155155
$$
@@ -179,7 +179,7 @@ $$)
179179
180180
错切有水平错切(平行X轴)和垂直错切(平行Y轴),或者是两者叠加。
181181
182-
计算公式:
182+
**计算公式:**
183183
184184
![](http://latex.codecogs.com/png.latex?
185185
$$
@@ -210,14 +210,14 @@ X = x + Skew_X * y
210210
Y = Skew_Y * x + y
211211
```
212212
213-
计算示例:
213+
**计算示例:**
214214
215215
![](http://latex.codecogs.com/png.latex?
216216
$$
217217
\\left [
218218
\\begin{matrix}
219-
20\\\\
220-
5
219+
25\\\\
220+
10
221221
\\end{1}
222222
\\right ]
223223
=
@@ -230,15 +230,47 @@ $$
230230
.
231231
\\left [
232232
\\begin{matrix}
233-
10\\\\
234-
5
233+
5\\\\
234+
10
235235
\\end{1}
236236
\\right ]
237237
$$)
238238
239239
240240
#### b.旋转
241241
242+
**计算公式:**
243+
244+
逆时针旋转 a 度。
245+
246+
![](http://latex.codecogs.com/png.latex?
247+
$$
248+
\\left [
249+
\\begin{matrix}
250+
X\\\\
251+
Y
252+
\\end{1}
253+
\\right ]
254+
=
255+
\\left [
256+
\\begin{matrix}
257+
cos(a) & -sin(a) \\\\
258+
sin(a) & cos(a)
259+
\\end{1}
260+
\\right ]
261+
.
262+
\\left [
263+
\\begin{matrix}
264+
x\\\\
265+
y
266+
\\end{1}
267+
\\right ]
268+
$$)
269+
270+
271+
272+
273+
**计算示例:**
242274
243275
244276

0 commit comments

Comments
 (0)