summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/mixed_product.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/mixed_product.inl')
-rw-r--r--external/include/glm/gtx/mixed_product.inl16
1 files changed, 16 insertions, 0 deletions
diff --git a/external/include/glm/gtx/mixed_product.inl b/external/include/glm/gtx/mixed_product.inl
new file mode 100644
index 0000000..a6ede59
--- /dev/null
+++ b/external/include/glm/gtx/mixed_product.inl
@@ -0,0 +1,16 @@
+/// @ref gtx_mixed_product
+/// @file glm/gtx/mixed_product.inl
+
+namespace glm
+{
+ template <typename T, precision P>
+ GLM_FUNC_QUALIFIER T mixedProduct
+ (
+ tvec3<T, P> const & v1,
+ tvec3<T, P> const & v2,
+ tvec3<T, P> const & v3
+ )
+ {
+ return dot(cross(v1, v2), v3);
+ }
+}//namespace glm