Fixed build error #524

master
Christophe Riccio ago%!(EXTRA string=9 years)
parent 61e8432634
commit 46cd601681
  1. 2
      glm/detail/type_vec4.inl

@ -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…
Cancel
Save