small fixes

This commit is contained in:
2024-10-20 08:52:11 -07:00
parent 103c3d38e4
commit 6c85515dd0
2 changed files with 14 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ namespace omath
// Constructors
constexpr Vector2() : x(0.f), y(0.f) {}
constexpr Vector2(float x, float y) : x(x), y(y) {}
constexpr Vector2(const float x, const float y) : x(x), y(y) {}
// Equality operators
[[nodiscard]]