From e206dc1cf625f28149c19eb4dfcbf495ef0efbb4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 18 Feb 2022 19:31:03 +0100 Subject: refactor: improve options of all kinds --- src/engine/vector2.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/vector2.hpp') diff --git a/src/engine/vector2.hpp b/src/engine/vector2.hpp index f69008f..e0c0d6b 100644 --- a/src/engine/vector2.hpp +++ b/src/engine/vector2.hpp @@ -2,7 +2,7 @@ #include -struct Vector2Opts +struct Vector2Options { unsigned int x; unsigned int y; @@ -17,7 +17,7 @@ public: /** * Creates a 2D vector. */ - explicit Vector2(Vector2Opts opts); + explicit Vector2(const Vector2Options &options); /** * Returns the X coordinate. -- cgit v1.2.3-18-g5258