Fix debug wireframe renderer

This commit is contained in:
2026-09-27 06:21:29 +02:00
parent a9bda25031
commit 11426fe8fb
3 changed files with 55 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ A minimal 3D renderer written in C++ and OpenGL 3.3 Core.
## Building
The only tested platform at the moment is **Linux** (x86-64).
The only tested platform at the moment is **GNU/Linux** (x86_64).
To build the project **you'll need to have GLFW already installed
system-wide**, the rest of the dependencies are already included.
@@ -48,6 +48,7 @@ flowchart TB
Indices
Shader
Texture
UniformBuffer
DirectionalLight
PointLight
SpotLight
@@ -68,6 +69,7 @@ flowchart TB
Renderer --> Scene
Renderer --> Camera
Renderer --> UniformBuffer
Scene --> Entity
Scene --> LightEnvironment
@@ -81,6 +83,7 @@ flowchart TB
Material --> Shader
Material --> Texture
Shader --> UniformBuffer
LightEnvironment --> DirectionalLight
LightEnvironment --> PointLight
@@ -103,7 +106,7 @@ flowchart TB
class Renderer,Scene,Camera,Framebuffer application
class Entity,Transform,Mesh,Material,LightEnvironment world
class Vertices,Indices,Shader,Texture,DirectionalLight,PointLight,SpotLight data
class Vertices,Indices,Shader,Texture,UniformBuffer,DirectionalLight,PointLight,SpotLight data
class Loader,tinyobjloader,stb_image loading
class Window,GLFW,glad,ImGui platform
```