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:
1 parent
a6034c124e
commit
a482986aee
1 file changed
+4
@@ -75,3 +75,7 @@ set_target_properties(scene_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOU
|
|||||||
add_executable(light_test WIN32 Demo/light_test.c)
|
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)
|
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)
|
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)
|
||||||
Reference in new issue
Block a user