removed even float type from vector classes

This commit is contained in:
2025-05-13 09:22:23 +03:00
parent 1196bb86b4
commit f179aea4d7
3 changed files with 7 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ namespace omath
return *this;
}
constexpr Vector4& operator*=(const float scalar) noexcept
constexpr Vector4& operator*=(const Type& scalar) noexcept
{
Vector3<Type>::operator*=(scalar);
w *= scalar;
@@ -63,7 +63,7 @@ namespace omath
return *this;
}
constexpr Vector4& operator/=(const float scalar) noexcept
constexpr Vector4& operator/=(const Type& scalar) noexcept
{
Vector3<Type>::operator/=(scalar);
w /= scalar;