aboutsummaryrefslogtreecommitdiff
path: root/src/engine/vector2.cpp
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/vector2.cpp
parent3e4d91b6b029374813cfd0900db1fa8984ad7aa3 (diff)
refactor: improve options of all kindsHEADmaster
Diffstat (limited to 'src/engine/vector2.cpp')
-rw-r--r--src/engine/vector2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/vector2.cpp b/src/engine/vector2.cpp
index 2d2283b..8a5a3c1 100644
--- a/src/engine/vector2.cpp
+++ b/src/engine/vector2.cpp
@@ -2,7 +2,7 @@
#include <memory>
-Vector2::Vector2(Vector2Opts opts) : _x(opts.x), _y(opts.y) {}
+Vector2::Vector2(const Vector2Options &options) : _x(options.x), _y(options.y) {}
unsigned int Vector2::x() const
{