global functions
glm::all(...)
bool glm::all(const vecType< bool, P > &v=P)
Documentation from code comments
Returns true if all components of x are true.
Type parameters:
vecType Boolean vector types.
See also: GLSL all man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::any(...)
bool glm::any(const vecType< bool, P > &v=P)
Documentation from code comments
Returns true if any component of x is true.
Type parameters:
vecType Boolean vector types.
See also: GLSL any man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::equal(...)
vecType< bool, P > glm::equal(const vecType< T, P > &x=P, const vecType< T, P > &y=P)
Documentation from code comments
Returns the component-wise comparison of result x == y.
Type parameters:
vecType Floating-point, integer or boolean vector types.
See also: GLSL equal man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::greaterThan(...)
vecType< bool, P > glm::greaterThan(const vecType< T, P > &x=P, const vecType< T, P > &y=P)
Documentation from code comments
Returns the component-wise comparison of result x > y.
Type parameters:
vecType Floating-point or integer vector types.
See also: GLSL greaterThan man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::greaterThanEqual(...)
vecType< bool, P > glm::greaterThanEqual(const vecType< T, P > &x=P, const vecType< T, P > &y=P)
Documentation from code comments
Returns the component-wise comparison of result x >= y.
Type parameters:
vecType Floating-point or integer vector types.
See also: GLSL greaterThanEqual man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::lessThan(...)
vecType< bool, P > glm::lessThan(const vecType< T, P > &x=P, const vecType< T, P > &y=P)
Documentation from code comments
Returns the component-wise comparison result of x < y.
Type parameters:
vecType Floating-point or integer vector types.
See also: GLSL lessThan man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::lessThanEqual(...)
vecType< bool, P > glm::lessThanEqual(const vecType< T, P > &x=P, const vecType< T, P > &y=P)
Documentation from code comments
Returns the component-wise comparison of result x <= y.
Type parameters:
vecType Floating-point or integer vector types.
See also: GLSL lessThanEqual man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::notEqual(...)
vecType< bool, P > glm::notEqual(const vecType< T, P > &x=P, const vecType< T, P > &y=P)
Documentation from code comments
Returns the component-wise comparison of result x != y.
Type parameters:
vecType Floating-point, integer or boolean vector types.
See also: GLSL notEqual man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
glm::not_(...)
vecType< bool, P > glm::not_(const vecType< bool, P > &v=P)
Documentation from code comments
Returns the component-wise logical complement of x. /!\ Because of language incompatibilities between C++ and GLSL, GLM defines the function not but not_ instead.
Type parameters:
vecType Boolean vector types.
See also: GLSL not man page
See also: GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
Last updated Tuesday, 19 November 2024 17:26:03 UTC - 2537ee49f6d46d5fe98e408849448314fd1f180e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue