Add my own math library
GLM works only for C++ and I plan on moving to back to C. There is a C port, but it would be good for me to figure out vertex math myself. Hence, my own library has been created.
This commit is contained in:
1 parent
c22569cc48
commit
bf31b96a2e
26 files changed
+554
-187
No files matched your search
+9
-11
@@ -1,7 +1,6 @@
|
||||
find_package(Vulkan REQUIRED)
|
||||
find_package(vma REQUIRED)
|
||||
find_package(glfw3 REQUIRED)
|
||||
find_package(glm REQUIRED)
|
||||
|
||||
find_package(Vulkan COMPONENTS glslc)
|
||||
find_program(glslc_executable NAMES glslc HINTS ${Vulkan_GLSLC_EXECUTABLE}/..)
|
||||
@@ -43,24 +42,23 @@ ${CMAKE_SOURCE_DIR}
|
||||
${Vulkan_INCLUDE_DIR}
|
||||
${vma_INCLUDE_DIR}
|
||||
${glfw3_INCLUDE_DIR}
|
||||
${glm_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
message("Vulkan_INCLUDE_DIR: ${Vulkan_INCLUDE_DIR}")
|
||||
target_sources(rse_graphics PRIVATE
|
||||
src/window.cpp
|
||||
src/vulkan_base.cpp
|
||||
src/vulkan_pipeline.cpp
|
||||
src/vulkan_buffers.cpp
|
||||
src/vulkan_descriptors.cpp
|
||||
src/rse_graphics.cpp
|
||||
src/mesh_controller.cpp
|
||||
src/vulkan_commons.cpp
|
||||
src/window.cpp
|
||||
src/vulkan_base.cpp
|
||||
src/vulkan_pipeline.cpp
|
||||
src/vulkan_buffers.cpp
|
||||
src/vulkan_descriptors.cpp
|
||||
src/rse_graphics.cpp
|
||||
src/rse_math.c
|
||||
src/mesh_controller.cpp
|
||||
src/vulkan_commons.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(rse_graphics PRIVATE
|
||||
rse_utilities
|
||||
${Vulkan_LIBRARIES}
|
||||
${glfw}
|
||||
${glm}
|
||||
)
|
||||
Reference in new issue
Block a user