mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Added the other 3 const & to the file
I added the other 3 const & that I missed.
This commit is contained in:
parent
f30f012d37
commit
9b621ee4db
@ -657,7 +657,7 @@ namespace detail
|
||||
}
|
||||
|
||||
template<typename T, qualifier Q>
|
||||
GLM_FUNC_QUALIFIER vec<4, T, Q> operator-(vec<4, T, Q> const& v, T scalar)
|
||||
GLM_FUNC_QUALIFIER vec<4, T, Q> operator-(vec<4, T, Q> const& v, T const & scalar)
|
||||
{
|
||||
return vec<4, T, Q>(v) -= scalar;
|
||||
}
|
||||
@ -687,7 +687,7 @@ namespace detail
|
||||
}
|
||||
|
||||
template<typename T, qualifier Q>
|
||||
GLM_FUNC_QUALIFIER vec<4, T, Q> operator*(vec<4, T, Q> const& v, T scalar)
|
||||
GLM_FUNC_QUALIFIER vec<4, T, Q> operator*(vec<4, T, Q> const& v, T const & scalar)
|
||||
{
|
||||
return vec<4, T, Q>(v) *= scalar;
|
||||
}
|
||||
@ -717,7 +717,7 @@ namespace detail
|
||||
}
|
||||
|
||||
template<typename T, qualifier Q>
|
||||
GLM_FUNC_QUALIFIER vec<4, T, Q> operator/(vec<4, T, Q> const& v, T scalar)
|
||||
GLM_FUNC_QUALIFIER vec<4, T, Q> operator/(vec<4, T, Q> const& v, T const & scalar)
|
||||
{
|
||||
return vec<4, T, Q>(v) /= scalar;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user