aboutsummaryrefslogtreecommitdiff
path: root/src/fb/chfb.hpp
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2026-01-17 00:06:31 +0100
committervimene <vincent.menegaux@gmail.com>2026-01-17 00:06:31 +0100
commit0d10b77f77459333c5549711334f417623ab1f3e (patch)
tree6584ab5d09fa72c93a70ac916bfdf401c7617157 /src/fb/chfb.hpp
parent175c71637b6bea6dcdd0faf3d614339983809bb1 (diff)
downloadengine-0d10b77f77459333c5549711334f417623ab1f3e.tar.gz
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
Diffstat (limited to 'src/fb/chfb.hpp')
-rw-r--r--src/fb/chfb.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fb/chfb.hpp b/src/fb/chfb.hpp
index 1748abf..b076f7d 100644
--- a/src/fb/chfb.hpp
+++ b/src/fb/chfb.hpp
@@ -3,7 +3,6 @@
#include <vector>
#include "math/vector.hpp"
-#include "o3d/vertex_data.hpp"
namespace engine::fb {
@@ -12,8 +11,7 @@ class CharacterFrameBuffer {
CharacterFrameBuffer(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;