Commit Graph

83 Commits

Author SHA1 Message Date
Cat Flynn a444deb51a feat: subdivide isosphere
https://schneide.blog/2016/07/15/generating-an-icosphere-in-c/
2023-08-03 01:19:56 +02:00
Cat Flynn 74ccc647f4 chore: simplify time usage 2023-08-03 01:05:13 +02:00
Cat Flynn 0ce3d54139 chore: delete redundant class
chore: remove redundant include

chore: remove redundant declaration
2023-08-03 01:05:12 +02:00
Cat Flynn f22fcee399 refactor: extract uniform updates from triangle 2023-08-02 23:40:47 +02:00
Cat Flynn 025238c73f feat: render isocahedron 2023-08-02 01:55:53 +02:00
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
ktyl 6f5a70981d chore: extract io function to file 2023-08-02 01:55:28 +02:00
Cat Flynn d845c71385 chore: project-wide vscode formatting prefs 2023-08-02 01:55:07 +02:00
Cat Flynn 9445794914 build: add vscode build configuration 2023-08-02 01:55:07 +02:00
ktyl 61e0a3e7e7 fix: misleading cmake platform error message 2023-08-02 01:54:18 +02:00
Cat Flynn 34122f3416 chore: import glm 0.9.9.8
Omitted doc/ and test/ folders as they are huge
2023-07-31 21:23:52 +02:00
Cat Flynn 881677b300 fix: copy targets instead of renaming in-place
This was stopping Visual Studio from finding and launching the correct
file.
2023-07-30 19:43:43 +02:00
Cat Flynn 319f1c4224 chore: update title bar 2023-07-27 21:59:56 +01:00
Cat Flynn 86e8775158 feat: calculate ISS orbital period 2023-07-27 21:59:19 +01:00
Cat Flynn bb26861633 chore: add submodule 2023-07-27 21:57:40 +01:00
Cat Flynn f443c87cf9 feat: include version in built executable 2023-07-27 21:43:14 +01:00
Cat Flynn c73f7f74db feat: add time uniform to shader 2023-07-27 22:18:33 +02:00
ktyl 1c5350b67d feat: hello triangle
Compile a vertex and fragment shader from the same directory as
hello.cpp.

Renders an orange triangle on a blue background.
2023-07-26 23:38:21 +02:00
Cat Flynn 8eface137b feat: include glew on windows
chore: update window title
build: link correct lib path
build: copy dll to artifacts
fix: remove redundant include
docs: remove duplicate lines
2023-07-26 23:37:37 +02:00
ktyl 3944a76d6d feat: include glew on linux 2023-07-24 22:41:29 +01:00
ktyl 4cbe93321d feat: compile on linux 2023-07-24 22:15:49 +01:00
Cat Flynn 4c94e0f047 feat: add OpenGL window on Windows 2023-07-23 18:21:44 +02:00
Cat Flynn c0c1e8be74 feat: open window with GLFW on Windows 2023-07-23 17:46:53 +02:00
Cat Flynn 43ce32922b chore: build with cmake 2023-07-23 16:46:30 +02:00
Cat Flynn b14f8d5950 feat: initial commit 2023-07-23 16:45:15 +02:00