• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /// @ref gtx_mixed_product
2 /// @file glm/gtx/mixed_product.hpp
3 ///
4 /// @see core (dependence)
5 ///
6 /// @defgroup gtx_mixed_product GLM_GTX_mixed_producte
7 /// @ingroup gtx
8 ///
9 /// @brief Mixed product of 3 vectors.
10 ///
11 /// <glm/gtx/mixed_product.hpp> need to be included to use these functionalities.
12 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
19 #	pragma message("GLM: GLM_GTX_mixed_product extension included")
20 #endif
21 
22 namespace glm
23 {
24 	/// @addtogroup gtx_mixed_product
25 	/// @{
26 
27 	/// @brief Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
28 	template <typename T, precision P>
29 	GLM_FUNC_DECL T mixedProduct(
30 		tvec3<T, P> const & v1,
31 		tvec3<T, P> const & v2,
32 		tvec3<T, P> const & v3);
33 
34 	/// @}
35 }// namespace glm
36 
37 #include "mixed_product.inl"
38