added files

This commit is contained in:
2026-03-13 20:51:59 +03:00
parent 29f3e2565d
commit 9da19582b5
7 changed files with 187 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
//
// Created by orange on 13.03.2026.
//
#pragma once
#include <omath/hud/hud_renderer_interface.hpp>
namespace omath::hud
{
class ImguiHudRenderer final : public HudRendererInterface
{
public:
~ImguiHudRenderer() override;
void add_line(const Vector2<float>& line_start, const Vector2<float>& line_end, const Color& color,
float thickness) override;
void add_polyline(const std::span<const Vector2<float>>& vertexes, float thickness) override;
void add_filled_polyline(const std::span<const Vector2<float>>& vertexes, float thickness) override;
void add_rectangle(const Vector2<float>& min, const Vector2<float>& max, const Color& color) override;
void add_filled_rectangle(const Vector2<float>& min, const Vector2<float>& max, const Color& color) override;
void add_text(const Vector2<float>& position, const Color& color, const std::string_view& text) override;
};
}