1.0.0 API documentation
E:
Github
g-truc
glm
glm
gtx
exterior_product.hpp
Go to the documentation of this file.
1
14
#pragma once
15
16
// Dependencies
17
#include "../detail/setup.hpp"
18
#include "../detail/qualifier.hpp"
19
20
#ifndef GLM_ENABLE_EXPERIMENTAL
21
# error "GLM: GLM_GTX_exterior_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
#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23
# pragma message("GLM: GLM_GTX_exterior_product extension included")
24
#endif
25
26
namespace
glm
27
{
30
37
template
<
typename
T, qualifier Q>
38
GLM_FUNC_DECL GLM_CONSTEXPR T
cross
(vec<2, T, Q>
const
& v, vec<2, T, Q>
const
& u);
39
41
}
//namespace glm
42
43
#include "exterior_product.inl"
glm::cross
GLM_FUNC_DECL GLM_CONSTEXPR T cross(vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)
Returns the cross product of x and y.
Generated by
1.8.18