aboutsummaryrefslogtreecommitdiff
path: root/src/common/shapes.hpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-10-01 14:08:24 +0200
committerfschildt <florian.schildt@protonmail.com>2025-10-01 14:09:13 +0200
commitc775ca6133d93ed97359a6a50bd94a5563c740de (patch)
tree9d3efb1c7e7538ff9d5cae408d2c29f9dd3daeab /src/common/shapes.hpp
parent41c2e2ecfcccf62b3c646980dd283848e33a8134 (diff)
general refactoring, prepare breakout game
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;
+};
+