• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /// @ref gtx_matrix_cross_product
2 /// @file glm/gtx/matrix_cross_product.hpp
3 ///
4 /// @see core (dependence)
5 /// @see gtx_extented_min_max (dependence)
6 ///
7 /// @defgroup gtx_matrix_cross_product GLM_GTX_matrix_cross_product
8 /// @ingroup gtx
9 ///
10 /// @brief Build cross product matrices
11 ///
12 /// <glm/gtx/matrix_cross_product.hpp> need to be included to use these functionalities.
13 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 #	pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
21 #endif
22 
23 namespace glm
24 {
25 	/// @addtogroup gtx_matrix_cross_product
26 	/// @{
27 
28 	//! Build a cross product matrix.
29 	//! From GLM_GTX_matrix_cross_product extension.
30 	template <typename T, precision P>
31 	GLM_FUNC_DECL tmat3x3<T, P> matrixCross3(
32 		tvec3<T, P> const & x);
33 
34 	//! Build a cross product matrix.
35 	//! From GLM_GTX_matrix_cross_product extension.
36 	template <typename T, precision P>
37 	GLM_FUNC_DECL tmat4x4<T, P> matrixCross4(
38 		tvec3<T, P> const & x);
39 
40 	/// @}
41 }//namespace glm
42 
43 #include "matrix_cross_product.inl"
44