diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-09-17 15:30:21 +0200 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-09-17 15:30:21 +0200 |
| commit | f28e9c3e03a9f94764b3811f7c4aa01991943fc7 (patch) | |
| tree | 569850adf97494f5ce31dfe31a4c2703f378a144 /src/basic | |
| parent | b46a0d9369fbaa1938f0968ab216bc2d564a9c37 (diff) | |
switch to software renderer
Diffstat (limited to 'src/basic')
| -rw-r--r-- | src/basic/math.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
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; +}; + |
