create special classes for render objects and 3d objects

This commit is contained in:
Lauchmelder 2021-12-21 14:35:36 +01:00
parent 80e5f4344c
commit f7941908ef
8 changed files with 166 additions and 17 deletions

View file

@ -1,6 +1,6 @@
add_executable(visualizer
"main.cpp" "Application.cpp"
"backend/VertexArrayObject.cpp" "backend/Shader.cpp" "Cuboid.cpp")
"backend/VertexArrayObject.cpp" "backend/Shader.cpp" "Cuboid.cpp" "backend/Drawable.cpp" "backend/Transformable.cpp")
target_sources(visualizer PUBLIC
${CMAKE_SOURCE_DIR}/vendor/glad/src/glad.c