Skip to content

Commit

Permalink
Update "GAMES101 作业2"
Browse files Browse the repository at this point in the history
  • Loading branch information
WangSimiao2000 committed Dec 23, 2024
1 parent bc83637 commit 919f03a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _posts/2024-12-23-GAMES101-Assignment2.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ math: true

实现一个三角形栅格化算法, 能够在屏幕上绘制实心三角形, 并正确处理深度缓冲, 最终实现输出预期的图像.

我的所有GAMES101作业的仓库地址: [GAMES101-Assignments](https://github.com/WangSimiao2000/GAMES101-Assignments)

## 判别点是否在三角形内

常用的方法: 计算顶点与三角形的顶点连线向量与三角形的边的叉乘, 如果三个叉乘的方向都一致, 则该点在三角形内.
Expand Down

0 comments on commit 919f03a

Please sign in to comment.