diff options
Diffstat (limited to '')
-rw-r--r-- | depedencies/include/glm/gtx/mixed_product.inl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/depedencies/include/glm/gtx/mixed_product.inl b/depedencies/include/glm/gtx/mixed_product.inl new file mode 100644 index 0000000..a6ede59 --- /dev/null +++ b/depedencies/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 |