aboutsummaryrefslogtreecommitdiff
path: root/src/engine/bounds.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-18 19:31:03 +0100
committerHampusM <hampus@hampusmat.com>2022-02-18 19:31:03 +0100
commite206dc1cf625f28149c19eb4dfcbf495ef0efbb4 (patch)
treebdcc6152dbce14f27a17b1a33814b0f8e365969f /src/engine/bounds.hpp
parent3e4d91b6b029374813cfd0900db1fa8984ad7aa3 (diff)
refactor: improve options of all kindsHEADmaster
Diffstat (limited to 'src/engine/bounds.hpp')
-rw-r--r--src/engine/bounds.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/bounds.hpp b/src/engine/bounds.hpp
index 964e73a..0cadb9d 100644
--- a/src/engine/bounds.hpp
+++ b/src/engine/bounds.hpp
@@ -2,7 +2,7 @@
#include "engine/vector2.hpp"
-struct BoundsOpts
+struct BoundsOptions
{
unsigned int width;
unsigned int height;
@@ -11,7 +11,7 @@ struct BoundsOpts
class Bounds
{
public:
- explicit Bounds(BoundsOpts opts);
+ explicit Bounds(const BoundsOptions &options);
[[nodiscard]] unsigned int width() const;