0.9.9 API documenation


template<typename T , qualifier Q>
GLM_FUNC_DECL T cross (vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)

Detailed Description

Include <glm/gtx/exterior_product.hpp> to use the features of this extension.

Allow to perform bit operations on integer values

Function Documentation

◆ cross()

GLM_FUNC_DECL T glm::cross ( vec< 2, T, Q > const &  v,
vec< 2, T, Q > const &  u 

Returns the cross product of x and y.

Template Parameters
TFloating-point scalar types
QValue from qualifier enum
See also
Exterior product