Skip to content

Commit aa8647b

Browse files
authored
Update Three.js实用知识点笔记.md
1 parent 40e7fbc commit aa8647b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Three.js实用知识点笔记.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,5 +208,18 @@ meshB.matrix.decompose(meshB.position, meshB.quaternion, meshB.scale)
208208
209209

210210

211+
<br>
212+
213+
#### 06、绘制三角形的顶点顺序决定了该三角形是正面(顺时针)还是反面(逆时针)
214+
215+
一个三角形有 3 个顶点,假定为 a、b、c,那么:
216+
217+
1. 假定 a b c 连接顺序为 逆时针,那么最终形成的三角形为 正面
218+
2. 假定 a b c 连接顺序为 顺时针,那么最终形成的三角形为 反面(背面)
219+
220+
另外一种判定形式是:右手握住沿着两个顶点添加顺序的连接线,此时大拇指指示方向即为正面
221+
222+
223+
211224
<br>
212225

0 commit comments

Comments
 (0)