| 1.0.0 API documentation

mixed_product.hpp
Go to the documentation of this file.
1
13 #pragma once
14
15 // Dependency:
16 #include "../glm.hpp"
17
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_mixed_product is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_GTX_mixed_product extension included")
22 #endif
23
24 namespace glm
25 {
28
30 template<typename T, qualifier Q>
31 GLM_FUNC_DECL T mixedProduct(
32 vec<3, T, Q> const& v1,
33 vec<3, T, Q> const& v2,
34 vec<3, T, Q> const& v3);
35
37 }// namespace glm
38
39 #include "mixed_product.inl"
glm::mixedProduct
GLM_FUNC_DECL T mixedProduct(vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)