mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Fixed build error #524
This commit is contained in:
parent
61e8432634
commit
46cd601681
@ -686,7 +686,7 @@ namespace detail
|
|||||||
template <typename T, precision P>
|
template <typename T, precision P>
|
||||||
GLM_FUNC_QUALIFIER tvec4<T, P> operator-(tvec1<T, P> const & v1, tvec4<T, P> const & v2)
|
GLM_FUNC_QUALIFIER tvec4<T, P> operator-(tvec1<T, P> const & v1, tvec4<T, P> const & v2)
|
||||||
{
|
{
|
||||||
return tvec4<T, P>(v1) -= v2;
|
return tvec4<T, P>(v1.x) -= v2;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, precision P>
|
template <typename T, precision P>
|
||||||
|
Loading…
Reference in New Issue
Block a user