Commit Graph

59 Commits

Author SHA1 Message Date
Cat Flynn e713ed8123 fix: return negative on error 2023-08-02 01:55:28 +02:00
Cat Flynn 31b58c48b2 fix: bind VAO before VBO
Failing to do this causes issues when trying to render multiple objects
2023-08-02 01:55:28 +02:00
Cat Flynn 829baa4b53 feat: wireframe rendering 2023-08-02 01:55:28 +02:00
Cat Flynn 68d63edef7 feat: orthographic triangle 2023-08-02 01:55:28 +02:00
Cat Flynn c44624f51e refactor: use GLFW time
This removes the requirement for std::chrono
2023-08-02 01:55:28 +02:00
Cat Flynn 4400839ae1 chore: extract shader compilation functions to file 2023-08-02 01:55:28 +02:00
Cat Flynn e9cdefe28a chore: extract Triangle class 2023-08-02 01:55:28 +02:00
ktyl 37dbe741fa chore: extract graphics init to function 2023-08-02 01:55:28 +02:00
ktyl 5d80d4a033 chore: move files to src dir 2023-08-02 01:55:28 +02:00