From 4a6577e555d0334241ba6c4141b8ec2884c81235 Mon Sep 17 00:00:00 2001 From: Chris Helmich Date: Mon, 22 Jan 2018 11:06:42 +0900 Subject: [PATCH] made col_type value[] public reason: direct access required in certain use-cases (e.g. parsers) --- glm/detail/type_mat2x2.hpp | 1 - glm/detail/type_mat2x3.hpp | 1 - glm/detail/type_mat2x4.hpp | 1 - glm/detail/type_mat3x2.hpp | 1 - glm/detail/type_mat3x3.hpp | 1 - glm/detail/type_mat3x4.hpp | 1 - glm/detail/type_mat4x2.hpp | 1 - glm/detail/type_mat4x3.hpp | 1 - glm/detail/type_mat4x4.hpp | 1 - 9 files changed, 9 deletions(-) diff --git a/glm/detail/type_mat2x2.hpp b/glm/detail/type_mat2x2.hpp index 1d64c059..718c0685 100644 --- a/glm/detail/type_mat2x2.hpp +++ b/glm/detail/type_mat2x2.hpp @@ -20,7 +20,6 @@ namespace glm typedef mat<2, 2, T, Q> transpose_type; typedef T value_type; - private: col_type value[2]; public: diff --git a/glm/detail/type_mat2x3.hpp b/glm/detail/type_mat2x3.hpp index 8f3e4feb..441db4b1 100644 --- a/glm/detail/type_mat2x3.hpp +++ b/glm/detail/type_mat2x3.hpp @@ -21,7 +21,6 @@ namespace glm typedef mat<3, 2, T, Q> transpose_type; typedef T value_type; - private: col_type value[2]; public: diff --git a/glm/detail/type_mat2x4.hpp b/glm/detail/type_mat2x4.hpp index 00e8d9b8..73413d0d 100644 --- a/glm/detail/type_mat2x4.hpp +++ b/glm/detail/type_mat2x4.hpp @@ -21,7 +21,6 @@ namespace glm typedef mat<4, 2, T, Q> transpose_type; typedef T value_type; - private: col_type value[2]; public: diff --git a/glm/detail/type_mat3x2.hpp b/glm/detail/type_mat3x2.hpp index 3fe00fda..603f861f 100644 --- a/glm/detail/type_mat3x2.hpp +++ b/glm/detail/type_mat3x2.hpp @@ -21,7 +21,6 @@ namespace glm typedef mat<2, 3, T, Q> transpose_type; typedef T value_type; - private: col_type value[3]; public: diff --git a/glm/detail/type_mat3x3.hpp b/glm/detail/type_mat3x3.hpp index 9d4c5ded..47ba4639 100644 --- a/glm/detail/type_mat3x3.hpp +++ b/glm/detail/type_mat3x3.hpp @@ -20,7 +20,6 @@ namespace glm typedef mat<3, 3, T, Q> transpose_type; typedef T value_type; - private: col_type value[3]; public: diff --git a/glm/detail/type_mat3x4.hpp b/glm/detail/type_mat3x4.hpp index cfebd867..a42451eb 100644 --- a/glm/detail/type_mat3x4.hpp +++ b/glm/detail/type_mat3x4.hpp @@ -21,7 +21,6 @@ namespace glm typedef mat<4, 3, T, Q> transpose_type; typedef T value_type; - private: col_type value[3]; public: diff --git a/glm/detail/type_mat4x2.hpp b/glm/detail/type_mat4x2.hpp index 0c9b3725..c6cb7028 100644 --- a/glm/detail/type_mat4x2.hpp +++ b/glm/detail/type_mat4x2.hpp @@ -21,7 +21,6 @@ namespace glm typedef mat<2, 4, T, Q> transpose_type; typedef T value_type; - private: col_type value[4]; public: diff --git a/glm/detail/type_mat4x3.hpp b/glm/detail/type_mat4x3.hpp index 09228b71..e84fb2ab 100644 --- a/glm/detail/type_mat4x3.hpp +++ b/glm/detail/type_mat4x3.hpp @@ -21,7 +21,6 @@ namespace glm typedef mat<3, 4, T, Q> transpose_type; typedef T value_type; - private: col_type value[4]; public: diff --git a/glm/detail/type_mat4x4.hpp b/glm/detail/type_mat4x4.hpp index 92051725..18230dae 100644 --- a/glm/detail/type_mat4x4.hpp +++ b/glm/detail/type_mat4x4.hpp @@ -20,7 +20,6 @@ namespace glm typedef mat<4, 4, T, Q> transpose_type; typedef T value_type; - private: col_type value[4]; public: