diff options
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 { |