|
@@ -79,8 +79,32 @@ namespace glm
|
|
|
col_type const & v2,
|
|
col_type const & v2,
|
|
|
col_type const & v3);
|
|
col_type const & v3);
|
|
|
|
|
|
|
|
|
|
+ //////////////////////////////////////
|
|
|
// Conversions
|
|
// Conversions
|
|
|
template <typename U>
|
|
template <typename U>
|
|
|
|
|
+ GLM_FUNC_DECL explicit tmat4x4(
|
|
|
|
|
+ U const & x);
|
|
|
|
|
+
|
|
|
|
|
+ template <
|
|
|
|
|
+ typename X1, typename Y1, typename Z1,
|
|
|
|
|
+ typename X2, typename Y2, typename Z2,
|
|
|
|
|
+ typename X3, typename Y3, typename Z3,
|
|
|
|
|
+ typename X4, typename Y4, typename Z4>
|
|
|
|
|
+ GLM_FUNC_DECL explicit tmat4x4(
|
|
|
|
|
+ X1 const & x1, Y1 const & y1, Z1 const & z1, W1 const & w1,
|
|
|
|
|
+ X2 const & x2, Y2 const & y2, Z2 const & z2, W2 const & w2,
|
|
|
|
|
+ X3 const & x3, Y3 const & y3, Z3 const & z3, W3 const & w3,
|
|
|
|
|
+ X4 const & x4, Y4 const & y4, Z4 const & z4, W4 const & w4);
|
|
|
|
|
+
|
|
|
|
|
+ template <typename V1, typename V2, typename V3, typename V4>
|
|
|
|
|
+ GLM_FUNC_DECL explicit tmat4x4(
|
|
|
|
|
+ tvec4<V1> const & v1,
|
|
|
|
|
+ tvec4<V2> const & v2,
|
|
|
|
|
+ tvec4<V3> const & v3,
|
|
|
|
|
+ tvec4<V4> const & v4);
|
|
|
|
|
+
|
|
|
|
|
+ // Matrix conversions
|
|
|
|
|
+ template <typename U>
|
|
|
GLM_FUNC_DECL explicit tmat4x4(tmat4x4<U> const & m);
|
|
GLM_FUNC_DECL explicit tmat4x4(tmat4x4<U> const & m);
|
|
|
|
|
|
|
|
GLM_FUNC_DECL explicit tmat4x4(tmat2x2<T> const & x);
|
|
GLM_FUNC_DECL explicit tmat4x4(tmat2x2<T> const & x);
|