GLM: mixed_product.hpp Source File

GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

- File List

mixed_product.hpp
Go to the documentation of this file.
1
38 #ifndef GLM_GTX_mixed_product
39 #define GLM_GTX_mixed_product
40
41 // Dependency:
42 #include "../glm.hpp"
43
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_mixed_product extension included")
46 #endif
47
48 namespace glm
49 {
52
54 template <typename T, precision P>
55 T mixedProduct(
56 detail::tvec3<T, P> const & v1,
57 detail::tvec3<T, P> const & v2,
58 detail::tvec3<T, P> const & v3);
59
61 }// namespace glm
62
63 #include "mixed_product.inl"
64
65 #endif//GLM_GTX_mixed_product
glm::mixedProduct
T mixedProduct(detail::tvec3< T, P > const &v1, detail::tvec3< T, P > const &v2, detail::tvec3< T, P > const &v3)
Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)