2D scene rendering + image loading #15

Merged
burkkyy merged 18 commits from issue-14/2d-scene-support-spritecomponent-2d-render-system into main 2026-09-30 15:56:33 -07:00
4 changed files with 8003 additions and 3 deletions
Showing only changes of commit 171634ca01 - Show all commits
+4
View File
@@ -30,3 +30,7 @@ target_link_libraries(${ENGINE_NAME} PUBLIC
imgui
entt
)
target_link_libraries(${ENGINE_NAME} PRIVATE
stb_image
)
+6
View File
@@ -34,6 +34,12 @@ target_include_directories(glm INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/glm)
add_library(entt INTERFACE)
target_include_directories(entt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/entt)
# stb_image (static)
add_library(stb_image STATIC
${CMAKE_CURRENT_SOURCE_DIR}/stb_image/stb_image.cpp
)
target_include_directories(stb_image PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/stb_image)
# 5. IMGUI (static)
set(IMGUI_DIR ${CMAKE_CURRENT_SOURCE_DIR}/imgui)
+2
View File
@@ -0,0 +1,2 @@
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
+7988
View File
File diff suppressed because it is too large Load Diff