| 0.9.9 API documentation

- Main Page
- Modules
- Files

- File List

matrix_cross_product.hpp
Go to the documentation of this file.
1
14 #pragma once
15
16 // Dependency:
17 #include "../glm.hpp"
18
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # ifndef GLM_ENABLE_EXPERIMENTAL
21 # pragma message("GLM: GLM_GTX_matrix_cross_product is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.")
22 # else
23 # pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
24 # endif
25 #endif
26
27 namespace glm
28 {
31
34 template<typename T, qualifier Q>
35 GLM_FUNC_DECL mat<3, 3, T, Q> matrixCross3(
36 vec<3, T, Q> const& x);
37
40 template<typename T, qualifier Q>
41 GLM_FUNC_DECL mat<4, 4, T, Q> matrixCross4(
42 vec<3, T, Q> const& x);
43
45 }//namespace glm
46
47 #include "matrix_cross_product.inl"
glm::matrixCross4
GLM_FUNC_DECL mat< 4, 4, T, Q > matrixCross4(vec< 3, T, Q > const &x)
Build a cross product matrix.
glm::matrixCross3
GLM_FUNC_DECL mat< 3, 3, T, Q > matrixCross3(vec< 3, T, Q > const &x)
Build a cross product matrix.
glm
Definition: common.hpp:20