GLM  0.9.5
matrix_cross_product.hpp
Go to the documentation of this file.
1 
39 #ifndef GLM_GTX_matrix_cross_product
40 #define GLM_GTX_matrix_cross_product
41 
42 // Dependency:
43 #include "../glm.hpp"
44 
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
47 #endif
48 
49 namespace glm
50 {
53 
56  template <typename T, precision P>
57  detail::tmat3x3<T, P> matrixCross3(
58  detail::tvec3<T, P> const & x);
59 
62  template <typename T, precision P>
63  detail::tmat4x4<T, P> matrixCross4(
64  detail::tvec3<T, P> const & x);
65 
67 }//namespace glm
68 
69 #include "matrix_cross_product.inl"
70 
71 #endif//GLM_GTX_matrix_cross_product
detail::tmat4x4< T, P > matrixCross4(detail::tvec3< T, P > const &x)
Build a cross product matrix.
detail::tmat3x3< T, P > matrixCross3(detail::tvec3< T, P > const &x)
Build a cross product matrix.