From c775ca6133d93ed97359a6a50bd94a5563c740de Mon Sep 17 00:00:00 2001 From: fschildt Date: Wed, 1 Oct 2025 14:08:24 +0200 Subject: general refactoring, prepare breakout game --- src/common/shapes.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/common/shapes.hpp (limited to 'src/common/shapes.hpp') 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; +}; + -- cgit v1.2.3