- 前期使用basic_graph, draw_triangle, parallelogram, basic_3D.hpp/cpp完成基础部分的练习。可快速渲染不同的物体。
- 后期构建class Manage,class Shader,class Camera,组合使用更具灵活性,更容易实现复杂的功能。
- 但两部分代码在引入glad,glm时有重复引入的现象,故不使用时应把basic_graph, draw_triangle, parallelogram, basic_3D.hpp/cpp内容注释。
- class Manager : create window, configure glad, manage resource.
- class Shader : read shader code, create shader program, set uniform.
- class Camera : create camera coordinate, create view matrix, deal with keyboard/mouse/scroll input.
- BasicGraph -> Triangle
- BasicGraph -> Parallelogram -> Basic3D
- Shader
- Manager
- basic_graph.hpp/cpp : class BasicGraph
- draw_triangle.hpp/cpp : class Triangle
- parallelogram.hpp/cpp : class Parallelogram
- shader.hpp/cpp : class Shader
- basic_3D.hpp/cpp : class Basic3D
- manage.hpp/cpp : class Manager