replace math_graphics with glm version 1.0.3

This commit is contained in:
Sven Balzer
2026-04-15 10:50:41 +02:00
parent 07af9deb6a
commit 4ec664c8db
1676 changed files with 289261 additions and 1477 deletions
+5 -1
View File
@@ -8,6 +8,10 @@ set(CMAKE_CXX_EXTENSIONS OFF)
option(TRACY_ENABLE "Enable Tracy profiling" OFF)
# glm
add_subdirectory(libs/glm)
target_compile_definitions(glm PUBLIC GLM_FORCE_SWIZZLE GLM_FORCE_XYZW_ONLY)
# SDL
set(SDL_SHARED OFF)
set(SDL_STATIC ON)
@@ -62,13 +66,13 @@ add_subdirectory(libs/tracy)
add_executable(mikemon
src/log.cpp
src/smol-atlas.cpp
src/math_graphics.cpp
src/change_directory.c
src/shaders/shaders.c
src/main.cpp
)
target_link_libraries(mikemon
PRIVATE
glm
SDL3::SDL3
SDL3_mixer::SDL3_mixer
stb_image