summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/matrix_cross_product.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/gtx/matrix_cross_product.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/gtx/matrix_cross_product.inl')
-rw-r--r--external/include/glm/gtx/matrix_cross_product.inl16
1 files changed, 8 insertions, 8 deletions
diff --git a/external/include/glm/gtx/matrix_cross_product.inl b/external/include/glm/gtx/matrix_cross_product.inl
index 16f07e9..d8ec11f 100644
--- a/external/include/glm/gtx/matrix_cross_product.inl
+++ b/external/include/glm/gtx/matrix_cross_product.inl
@@ -3,13 +3,13 @@
namespace glm
{
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tmat3x3<T, P> matrixCross3
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER mat<3, 3, T, Q> matrixCross3
(
- tvec3<T, P> const & x
+ vec<3, T, Q> const& x
)
{
- tmat3x3<T, P> Result(T(0));
+ mat<3, 3, T, Q> Result(T(0));
Result[0][1] = x.z;
Result[1][0] = -x.z;
Result[0][2] = -x.y;
@@ -19,13 +19,13 @@ namespace glm
return Result;
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tmat4x4<T, P> matrixCross4
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER mat<4, 4, T, Q> matrixCross4
(
- tvec3<T, P> const & x
+ vec<3, T, Q> const& x
)
{
- tmat4x4<T, P> Result(T(0));
+ mat<4, 4, T, Q> Result(T(0));
Result[0][1] = x.z;
Result[1][0] = -x.z;
Result[0][2] = -x.y;