aboutsummaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/math.hpp15
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;
+};
+