diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-18 19:31:03 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-02-18 19:31:03 +0100 |
commit | e206dc1cf625f28149c19eb4dfcbf495ef0efbb4 (patch) | |
tree | bdcc6152dbce14f27a17b1a33814b0f8e365969f /src/engine/bounds.cpp | |
parent | 3e4d91b6b029374813cfd0900db1fa8984ad7aa3 (diff) |
Diffstat (limited to 'src/engine/bounds.cpp')
-rw-r--r-- | src/engine/bounds.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/bounds.cpp b/src/engine/bounds.cpp index 782fd02..aa54439 100644 --- a/src/engine/bounds.cpp +++ b/src/engine/bounds.cpp @@ -1,6 +1,9 @@ #include "bounds.hpp" -Bounds::Bounds(BoundsOpts opts) : _width(opts.width), _height(opts.height) {} +Bounds::Bounds(const BoundsOptions &options) + : _width(options.width), _height(options.height) +{ +} unsigned int Bounds::width() const { |