feat: Add Camera component / Add cooked model and texture loading
This commit is contained in:
@@ -3,6 +3,7 @@ add_subdirectory(third_party)
|
||||
# CPU side asset types and the cooked model format, shared with TheChef (no Vulkan / SDL dependencies)
|
||||
add_library(destrum_assets
|
||||
"src/Assets/ModelFile.cpp"
|
||||
"src/Assets/TextureFile.cpp"
|
||||
)
|
||||
|
||||
add_library(destrum::assets ALIAS destrum_assets)
|
||||
@@ -35,6 +36,7 @@ set(SRC_FILES
|
||||
"src/Event.cpp"
|
||||
|
||||
"src/Components/Animator.cpp"
|
||||
"src/Components/CameraComponent.cpp"
|
||||
"src/Components/LightComponent.cpp"
|
||||
"src/Components/MeshRendererComponent.cpp"
|
||||
"src/Components/Rotator.cpp"
|
||||
@@ -192,10 +194,6 @@ add_custom_target(_internal_clean_engine_assets
|
||||
)
|
||||
|
||||
add_custom_target(_internal_cook_engine_assets
|
||||
COMMAND TheChef
|
||||
--input "${ASSETS_SRC_DIR}"
|
||||
--output "${ASSETS_RUNTIME_DIR}"
|
||||
--clean
|
||||
COMMAND TheChef
|
||||
--input "${ASSETS_SRC_DIR}"
|
||||
--output "${ASSETS_RUNTIME_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user