Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2026-01-10 15:30:45 +02:00
parent 4d9e1f03b0
commit 858f848427
6 changed files with 450 additions and 28 deletions

View File

@@ -76,6 +76,9 @@ struct VulkanRenderer {
auto draw_rectangle(smath::Vec2 pos, smath::Vec2 size,
smath::Vec4 color = smath::Vec4 { Colors::WHITE, 1.0f },
float rotation = 0.0f) -> void;
auto draw_sphere(smath::Vec3 center, float radius, int rings = 16,
int segments = 32, std::optional<smath::Vec4> sphere_color = {})
-> void;
auto end() -> void;
auto flush() -> void;