diff --git a/include/omath/vector2.hpp b/include/omath/vector2.hpp index 8470d75..4123068 100644 --- a/include/omath/vector2.hpp +++ b/include/omath/vector2.hpp @@ -226,7 +226,7 @@ namespace omath return {static_cast(this->x), static_cast(this->y)}; } [[nodiscard]] - static Vector3 from_im_vec2(const ImVec2& other) noexcept + static Vector2 from_im_vec2(const ImVec2& other) noexcept { return {static_cast(other.x), static_cast(other.y)}; }