mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
removed even float type from vector classes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user