summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtc/matrix_access.inl
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
commit2877f4eda3d1b0c7431039e3142ecf1a282a34b1 (patch)
tree58ad35e27ab2a3b8955f5adbf28f296670681ffc /external/include/glm/gtc/matrix_access.inl
parentSmooth sun movement (diff)
downloadAltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.gz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.bz2
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.lz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.xz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.zst
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.zip
Diffstat (limited to 'external/include/glm/gtc/matrix_access.inl')
-rw-r--r--external/include/glm/gtc/matrix_access.inl22
1 files changed, 11 insertions, 11 deletions
diff --git a/external/include/glm/gtc/matrix_access.inl b/external/include/glm/gtc/matrix_access.inl
index 831b940..176136a 100644
--- a/external/include/glm/gtc/matrix_access.inl
+++ b/external/include/glm/gtc/matrix_access.inl
@@ -3,12 +3,12 @@
namespace glm
{
- template <typename genType>
+ template<typename genType>
GLM_FUNC_QUALIFIER genType row
(
- genType const & m,
+ genType const& m,
length_t index,
- typename genType::row_type const & x
+ typename genType::row_type const& x
)
{
assert(index >= 0 && index < m[0].length());
@@ -19,27 +19,27 @@ namespace glm
return Result;
}
- template <typename genType>
+ template<typename genType>
GLM_FUNC_QUALIFIER typename genType::row_type row
(
- genType const & m,
+ genType const& m,
length_t index
)
{
assert(index >= 0 && index < m[0].length());
- typename genType::row_type Result;
+ typename genType::row_type Result(0);
for(length_t i = 0; i < m.length(); ++i)
Result[i] = m[i][index];
return Result;
}
- template <typename genType>
+ template<typename genType>
GLM_FUNC_QUALIFIER genType column
(
- genType const & m,
+ genType const& m,
length_t index,
- typename genType::col_type const & x
+ typename genType::col_type const& x
)
{
assert(index >= 0 && index < m.length());
@@ -49,10 +49,10 @@ namespace glm
return Result;
}
- template <typename genType>
+ template<typename genType>
GLM_FUNC_QUALIFIER typename genType::col_type column
(
- genType const & m,
+ genType const& m,
length_t index
)
{