0.9.9 API documenation
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 experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_mixed_product extension included")
24 #endif
25 
26 namespace glm
27 {
30 
32  template <typename T, precision P>
33  GLM_FUNC_DECL T mixedProduct(
34  tvec3<T, P> const & v1,
35  tvec3<T, P> const & v2,
36  tvec3<T, P> const & v3);
37 
39 }// namespace glm
40 
41 #include "mixed_product.inl"
GLM_FUNC_DECL T mixedProduct(tvec3< T, P > const &v1, tvec3< T, P > const &v2, tvec3< T, P > const &v3)
Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
Definition: _noise.hpp:11