feat(viewport): basic proj and view matrix

This commit is contained in:
parker
2025-06-26 13:46:13 +01:00
parent 89b04be318
commit d123f2945f
6 changed files with 66 additions and 119 deletions

View File

@@ -16,6 +16,8 @@ project(enzo_project)
find_package(Qt6 REQUIRED COMPONENTS Core Widgets SvgWidgets OpenGLWidgets)
qt_standard_project_setup()
# glm
find_package(glm REQUIRED)
qt_add_executable(${AppExec}
static/resources.qrc
@@ -34,7 +36,7 @@ qt_add_executable(${AppExec}
src/gui/network/NodeIconGraphic.cpp
)
target_link_libraries(${AppExec} PRIVATE Qt6::Core Qt6::Widgets Qt6::SvgWidgets Qt6::OpenGLWidgets GLU)
target_link_libraries(${AppExec} PRIVATE Qt6::Core Qt6::Widgets Qt6::SvgWidgets Qt6::OpenGLWidgets glm::glm)
target_include_directories(${AppExec} PUBLIC src)
# tests