Merge pull request #1011 from Bargor/master

Fixed warning when compiling with MSVS in SIMD mode #1011
This commit is contained in:
Christophe 2020-07-09 10:40:55 +02:00 committed by GitHub
commit 6c97378695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,9 +144,10 @@ namespace glm
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_QUALIFIER mat<4, 4, T, Q> lookAt(vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up) GLM_FUNC_QUALIFIER mat<4, 4, T, Q> lookAt(vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up)
{ {
GLM_IF_CONSTEXPR(GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_LH_BIT) # if (GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_LH_BIT)
return lookAtLH(eye, center, up); return lookAtLH(eye, center, up);
else # else
return lookAtRH(eye, center, up); return lookAtRH(eye, center, up);
# endif
} }
}//namespace glm }//namespace glm