summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/matrix_cross_product.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/matrix_cross_product.inl')
-rw-r--r--external/include/glm/gtx/matrix_cross_product.inl38
1 files changed, 0 insertions, 38 deletions
diff --git a/external/include/glm/gtx/matrix_cross_product.inl b/external/include/glm/gtx/matrix_cross_product.inl
deleted file mode 100644
index d8ec11f..0000000
--- a/external/include/glm/gtx/matrix_cross_product.inl
+++ /dev/null
@@ -1,38 +0,0 @@
-/// @ref gtx_matrix_cross_product
-/// @file glm/gtx/matrix_cross_product.inl
-
-namespace glm
-{
- template<typename T, qualifier Q>
- GLM_FUNC_QUALIFIER mat<3, 3, T, Q> matrixCross3
- (
- vec<3, T, Q> const& x
- )
- {
- mat<3, 3, T, Q> Result(T(0));
- Result[0][1] = x.z;
- Result[1][0] = -x.z;
- Result[0][2] = -x.y;
- Result[2][0] = x.y;
- Result[1][2] = x.x;
- Result[2][1] = -x.x;
- return Result;
- }
-
- template<typename T, qualifier Q>
- GLM_FUNC_QUALIFIER mat<4, 4, T, Q> matrixCross4
- (
- vec<3, T, Q> const& x
- )
- {
- mat<4, 4, T, Q> Result(T(0));
- Result[0][1] = x.z;
- Result[1][0] = -x.z;
- Result[0][2] = -x.y;
- Result[2][0] = x.y;
- Result[1][2] = x.x;
- Result[2][1] = -x.x;
- return Result;
- }
-
-}//namespace glm