From 0d10b77f77459333c5549711334f417623ab1f3e Mon Sep 17 00:00:00 2001 From: vimene Date: Sat, 17 Jan 2026 00:06:31 +0100 Subject: improved software shaders - unified terminal and graphical software renderer shaders - added vertex shaders for software renderers - removed VertexData - moved shaders from frame buffers to their own class - added FrameBufferConcept and ShadersConcept --- src/fb/pixfb.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/fb/pixfb.hpp') diff --git a/src/fb/pixfb.hpp b/src/fb/pixfb.hpp index 954f6e1..d341b10 100644 --- a/src/fb/pixfb.hpp +++ b/src/fb/pixfb.hpp @@ -4,7 +4,6 @@ #include #include #include "math/vector.hpp" -#include "o3d/vertex_data.hpp" namespace engine::fb { @@ -13,8 +12,7 @@ class PixelFrameBuffer { PixelFrameBuffer(unsigned int w, unsigned int h); void resize(unsigned int w, unsigned int h); void clear(); - void draw_point(int x, int y, const engine::math::Vector3& loc, - const engine::math::Vector3& normal, const engine::math::Vector2& uv, const engine::o3d::VertexData& vd); + void draw_point(int x, int y, const engine::math::Vector4& point); constexpr unsigned int width() const & { return w; -- cgit v1.2.3