Browse Source

Added missing constructors

Christophe Riccio 15 years ago
parent
commit
656113c508
2 changed files with 19 additions and 1 deletions
  1. 1 1
      glm/core/type_mat2x4.hpp
  2. 18 0
      glm/core/type_mat3x2.inl

+ 1 - 1
glm/core/type_mat2x4.hpp

@@ -60,7 +60,7 @@ namespace glm
 			tmat2x4(tmat2x4 const & m);
 
 			explicit tmat2x4(
-				ctor Null);
+				ctor);
 			explicit tmat2x4(
 				value_type const & s);
 			explicit tmat2x4(

+ 18 - 0
glm/core/type_mat3x2.inl

@@ -58,6 +58,24 @@ namespace detail
         this->value[2] = col_type(0, 0);
     }
 
+    template <typename T> 
+    inline tmat3x2<T>::tmat3x2
+	(
+		tmat3x2<T> const & m
+	)
+    {
+        this->value[0] = m.value[0];
+        this->value[1] = m.value[1];
+		this->value[2] = m.value[2];
+    }
+
+    template <typename T> 
+    inline tmat3x2<T>::tmat3x2
+	(
+		ctor
+	)
+    {}
+
     template <typename T> 
     inline tmat3x2<T>::tmat3x2
 	(