From 656113c5087c108e730811a69bc2af9407d6b6b1 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 24 Aug 2010 14:06:05 +0100 Subject: [PATCH] Added missing constructors --- glm/core/type_mat2x4.hpp | 2 +- glm/core/type_mat3x2.inl | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/glm/core/type_mat2x4.hpp b/glm/core/type_mat2x4.hpp index 4b5b224c..8e09c42b 100644 --- a/glm/core/type_mat2x4.hpp +++ b/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( diff --git a/glm/core/type_mat3x2.inl b/glm/core/type_mat3x2.inl index da707efd..c89210c4 100644 --- a/glm/core/type_mat3x2.inl +++ b/glm/core/type_mat3x2.inl @@ -58,6 +58,24 @@ namespace detail this->value[2] = col_type(0, 0); } + template + inline tmat3x2::tmat3x2 + ( + tmat3x2 const & m + ) + { + this->value[0] = m.value[0]; + this->value[1] = m.value[1]; + this->value[2] = m.value[2]; + } + + template + inline tmat3x2::tmat3x2 + ( + ctor + ) + {} + template inline tmat3x2::tmat3x2 (