mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
Add templated wrapper objects
- Shader - Program - Buffer - VertexArray Along with template magic to deduce VertexArray formats - Format, IFormat, LFormat - AutoFormat - Binder - ATTR
This commit is contained in:
@@ -19,7 +19,13 @@ add_custom_command(
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/res ${CMAKE_CURRENT_BINARY_DIR}/res
|
||||
COMMENT "Copying Resources")
|
||||
|
||||
add_executable(vis src/main.cpp)
|
||||
add_executable(vis
|
||||
src/main.cpp
|
||||
src/gl/debug.hpp
|
||||
src/gl/shader.hpp
|
||||
src/gl/buffer.hpp
|
||||
src/gl/vertexarray.hpp
|
||||
src/gl/types.hpp)
|
||||
target_link_libraries(vis glfw glad imgui eigen nlohmann_json)
|
||||
add_dependencies(vis resources)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user