cpp_drawing/renderers/renderer.hpp
2025-09-26 18:39:24 +02:00

17 lines
399 B
C++

#pragma once
#include "math/vector.hpp"
class Renderer
{
public:
virtual void DrawLine(const math::Vector& p0, const math::Vector& p1) = 0;
virtual void DrawRectangle(const math::Vector& pos, const math::Vector& size, float angle) = 0;
virtual void DrawCircle(const math::Vector& center, float radius) = 0;
virtual void Flush()
{
}
virtual ~Renderer() = default;
};