aboutsummaryrefslogtreecommitdiff
path: root/src/common/shapes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/shapes.hpp')
-rw-r--r--src/common/shapes.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/common/shapes.hpp b/src/common/shapes.hpp
new file mode 100644
index 0000000..b556b2b
--- /dev/null
+++ b/src/common/shapes.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+
+struct Rectangle {
+ float x0;
+ float y0;
+ float x1;
+ float y1;
+};
+
+struct Circle {
+ float x;
+ float y;
+ float r;
+};
+