added models and stuff

This commit is contained in:
2026-05-08 23:44:20 -04:00
parent 3c756d6230
commit 5484e265fb
24 changed files with 3281 additions and 199575 deletions

View File

@@ -17,14 +17,15 @@ add_subdirectory(_ThirdParty/spdlog)
set (ASSIMP_INSTALL OFF)
add_subdirectory(_ThirdParty/assimp)
add_subdirectory(glm)
add_subdirectory(_ThirdParty/glm)
add_subdirectory(_ThirdParty/entt)
add_executable(${PROJECT_NAME}
src/main.cpp
${GLAD_SOURCE_DIR}/gl.c
src/Mesh.cpp
src/Mesh.h
src/Model.cpp
src/Model.h
src/Material.h
src/ModelManager.cpp
@@ -39,7 +40,10 @@ add_executable(${PROJECT_NAME}
src/FreeCamera.cpp
src/FreeCamera.h
src/InputManager.cpp
src/InputManager.h)
src/InputManager.h
src/Components.h
src/Scene.cpp
src/Scene.h)
add_custom_target(copy_resources
COMMAND ${CMAKE_COMMAND} -E copy_directory
@@ -48,5 +52,5 @@ add_custom_target(copy_resources
COMMENT "Copying resources..."
)
target_link_libraries(${PROJECT_NAME} glfw spdlog assimp glm)
target_link_libraries(${PROJECT_NAME} glfw spdlog assimp glm EnTT)
target_include_directories(${PROJECT_NAME} PRIVATE ${ASSIMP_INCLUDE_INSTALL_DIR})