摘要: 作业 02 的实现代码:Assignment02 1. insideTriangle static bool insideTriangle(float x, float y, const Vector3f* _v) { // TODO : Implement this function to che 阅读全文
posted @ 2020-11-27 19:32 virgilwjj 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 作业 01 的实现代码:Assignment01 1. get_model_matrix Eigen::Matrix4f get_model_matrix(float rotation_angle) { Eigen::Matrix4f model = Eigen::Matrix4f::Identit 阅读全文
posted @ 2020-11-27 19:16 virgilwjj 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 作业 00 的实现代码:Assignment00 1. assignment const float PI = 3.1415927; void scale(Eigen::Vector3f &p, float sx, float sy) { Eigen::Matrix3f matrix3f; matr 阅读全文
posted @ 2020-11-27 18:44 virgilwjj 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 1. 作业的本地环境配置 课程虽然提供了虚拟机的环境,但是本人不喜欢使用虚拟机,所以是配置本地环境的。 本人使用 MacBook Pro,系统版本是 macOS 10.15.7,macOS 系统的同学可以参考我的配置。 1.1. 编辑器 编辑器本人习惯使用 vim,但是我也使用过 VsCode、CL 阅读全文
posted @ 2020-11-27 18:26 virgilwjj 阅读(750) 评论(0) 推荐(0) 编辑