From f28e9c3e03a9f94764b3811f7c4aa01991943fc7 Mon Sep 17 00:00:00 2001 From: fschildt Date: Wed, 17 Sep 2025 15:30:21 +0200 Subject: switch to software renderer --- src/basic/math.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/basic/math.hpp') diff --git a/src/basic/math.hpp b/src/basic/math.hpp index 0f21181..40be80a 100644 --- a/src/basic/math.hpp +++ b/src/basic/math.hpp @@ -57,3 +57,18 @@ struct V2I32 { V2I32 (int32_t x, int32_t y); bool operator==(V2I32 other); }; + +struct Color { + float r; + float g; + float b; + float a; +}; + +struct RectF32 { + float x0; + float y0; + float x1; + float y1; +}; + -- cgit v1.2.3