feat: input system verified + WASD camera test

- input.c: keyboard/mouse/gamepad fully implemented
- window.c: mouse callbacks connected
- input_test.c: WASD camera demo (engine D3D11 init conflicts with inline VB)
- lighting.h/c: directional + point light support
This commit is contained in:
shuiyu1123 committed 2026-07-11 15:42:17 +08:00
1 parent a6034c124e
commit a482986aee
1 file changed
+4
+4
View File
@@ -75,3 +75,7 @@ set_target_properties(scene_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOU
add_executable(light_test WIN32 Demo/light_test.c)
target_link_libraries(light_test Engine d3d11 dxgi d3dcompiler ole32 oleaut32 uuid gdi32 user32 kernel32 winmm)
set_target_properties(light_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build)
add_executable(input_test WIN32 Demo/input_test.c)
target_link_libraries(input_test Engine d3d11 dxgi d3dcompiler ole32 oleaut32 uuid gdi32 user32 kernel32 winmm)
set_target_properties(input_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build)