Fixed implicit conversion from another tvec2 type to another tvec2 #241

This commit is contained in:
Christophe Riccio
2014-10-05 10:34:19 +02:00
parent a08aca94f3
commit 1e389f8efa
2 changed files with 7 additions and 10 deletions

View File

@@ -135,7 +135,7 @@ namespace detail
//! Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename U, precision Q>
GLM_FUNC_DECL tvec2(tvec2<U, Q> const & v);
GLM_FUNC_DECL explicit tvec2(tvec2<U, Q> const & v);
//! Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename U, precision Q>
GLM_FUNC_DECL explicit tvec2(tvec3<U, Q> const & v);