cebe0df8a2
move /src/error.? to /src/util/error.?
2025-10-09 12:16:38 +02:00
aa58d931aa
move /src/util/intdef.h to /src/util/types.h
2025-10-09 12:16:06 +02:00
76c992efdc
note about the memory leak I could not locate within my code.
...
hint: I couldn't locate it, because it isn't in my code.
2025-09-15 15:14:08 +02:00
28b98705f5
refactor the lot a bit, for clairity.
2025-09-15 15:08:15 +02:00
057b234251
fix: don't free window twice
2025-09-15 15:07:41 +02:00
dc3abf992b
handle window exits more gracefully and appropriately.
2025-09-15 14:23:03 +02:00
1e10fec9c6
rename input callback to something more appropriate.
2025-09-15 14:12:18 +02:00
0baadfca75
update copyright information in all files
...
the comment was using single-line comments, I prefer multi-line comments
now.
This bothered me for much too long.
2025-08-29 09:36:55 +02:00
1d5df8df0a
apply new formatting rules to the whole project
2025-07-24 16:29:03 +02:00
6997e08b05
add copyright information and code cleanup
2025-06-15 14:29:28 +02:00
7dd464349f
rework logging to be more optimised, and some minor improvements.
...
removed function definitions and opted for using macros instead.
It now does not have a set limit when it comes to printing (at least,
it's the stdc's limit again). However, it is now no longer possible to
use a character pointer to print information to the screen.
2025-06-12 18:09:23 +02:00
a7fb6136ea
fix: renamed some symbols which were causing some compatibility problems
...
__FILE_NAME__ and GLFW_CONTEXT_DEBUG were causing problems in the CI
pipeline, thus I deemed them unreliable.
__FILE_NAME__ is not __FILE__ which is more universally used across
compilers.
and GLFW_CONTEXT_DEBUG has been replaced with GLFW_OPENGL_DEBUG_CONTEXT,
which is a legacy definition, which plays nicer on older platforms.
(like ubuntu)
2025-06-11 17:56:22 +02:00
5f4389d9f9
provide a better method of embedding shaders within the source code
2025-06-06 18:09:49 +02:00
5ae974d84f
move from float3 to float2, and general cleanup
2025-06-05 00:13:05 +02:00
3fbc1f50ab
hello, triangle
...
I wrote some code to get a triangle drawn to the screen.
This took much more effort than it should've...
2025-06-03 14:18:56 +02:00
991c071920
improve OpenGL initialization
...
added more comments, logging and made some default values more explicit
2025-06-03 14:16:56 +02:00
Quinn
f0ab423e36
add OpenGL bootstrapping code
2025-06-02 12:41:00 +02:00
Quinn
8c78ffdca5
implement input and rework window implementation
...
moved the window variable as a constant in the window module, and
implement more of GLFW logic, including some basic input handling.
2025-06-02 12:41:00 +02:00
Quinn
76e3547313
rename window/render* to io/window*
...
this makes more sense, as we'll add more source files in this category
2025-06-02 12:41:00 +02:00