| 0.9.9 API documenation

- 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 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_matrix_cross_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."
21 #endif
22
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
25 #endif
26
27 namespace glm
28 {
31
34 template <typename T, precision P>
35 GLM_FUNC_DECL tmat3x3<T, P> matrixCross3(
36 tvec3<T, P> const & x);
37
40 template <typename T, precision P>
41 GLM_FUNC_DECL tmat4x4<T, P> matrixCross4(
42 tvec3<T, P> const & x);
43
45 }//namespace glm
46
47 #include "matrix_cross_product.inl"
glm::matrixCross4
GLM_FUNC_DECL tmat4x4< T, P > matrixCross4(tvec3< T, P > const &x)
Build a cross product matrix.
glm::matrixCross3
GLM_FUNC_DECL tmat3x3< T, P > matrixCross3(tvec3< T, P > const &x)
Build a cross product matrix.
glm
Definition: _noise.hpp:11