Docs
0.11.0
nights_stay
ofDocs
documentation
glm
detailfunc_vector_relational (functions)
detailfunc_common (functions)
detailfunc_exponential (functions)
detailfunc_geometric (functions)
detailfunc_integer (functions)
detailfunc_matrix (functions)
detailfunc_packing (functions)
detailfunc_trigonometric (functions)
detailfunc_vector_relational (functions)
detailsetup (functions)
detailtype_mat (functions)
glm::mat2
glm::mat2x3
glm::mat2x4
glm::mat3
glm::mat3x2
glm::mat3x4
glm::mat4
glm::mat4x2
glm::mat4x3
glm::quat
glm::vec1
glm::vec2
glm::vec3
glm::vec4
gtcbitfield (functions)
gtcconstants (functions)
gtcepsilon (functions)
gtc (functions)functions
gtcmatrix_access (functions)
gtcmatrix_inverse (functions)
gtcmatrix_transform (functions)
gtcnoise (functions)
gtcpacking (functions)
gtcquaternion (functions)
gtcrandom (functions)
gtcreciprocal (functions)
gtcround (functions)
gtctype_ptr (functions)
gtculp (functions)
gtxassociated_min_max (functions)
gtxbit (functions)
gtxclosest_point (functions)
gtxcolor_space (functions)
gtxcolor_space_YCoCg (functions)
gtxcommon (functions)
gtxcompatibility (functions)
gtxcomponent_wise (functions)
gtxdual_quaternion (functions)
gtxeuler_angles (functions)
gtxextend (functions)
gtxextended_min_max (functions)
gtxextented_min_max (functions)
gtxfast_exponential (functions)
gtxfast_square_root (functions)
gtxfast_trigonometry (functions)
gtxgradient_paint (functions)
gtxhanded_coordinate_space (functions)
gtxinteger (functions)
gtxintersect (functions)
gtxlog_base (functions)
gtxmatrix_cross_product (functions)
gtxmatrix_decompose (functions)
gtxmatrix_interpolation (functions)
gtxmatrix_major_storage (functions)
gtxmatrix_operation (functions)
gtxmatrix_query (functions)
gtxmatrix_transform_2d (functions)
gtxmixed_product (functions)
gtxnormal (functions)
gtxnormalize_dot (functions)
gtxorthonormalize (functions)
gtxperpendicular (functions)
gtxpolar_coordinates (functions)
gtxprojection (functions)
gtxrange (functions)
gtxrotate_normalized_axis (functions)
gtxrotate_vector (functions)
gtxsimd_mat4 (functions)
gtxsimd_quat (functions)
gtxsimd_vec4 (functions)
gtxspline (functions)
gtxstring_cast (functions)
gtxtransform (functions)
gtxtransform2 (functions)
gtxvector_angle (functions)
gtxvector_query (functions)
gtxwrap (functions)
detailfunc_vector_relational (functions)
edit
Edit
#functions <!-- _visible: True_ _advanced: False_ --> ##Description <!-----------------------------------------------------------------------------> ###bool glm::all(bool, &v = P) <!-- _syntax: glm::all(bool, &v = P)_ _name: glm::all_ _returns: bool_ _returns_description: _ _parameters: const vecType< bool, P > &v=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns true if all components of x are true. **Type parameters:** vecType Boolean vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/all.xml">GLSL all man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###bool glm::any(bool, &v = P) <!-- _syntax: glm::any(bool, &v = P)_ _name: glm::any_ _returns: bool_ _returns_description: _ _parameters: const vecType< bool, P > &v=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns true if any component of x is true. **Type parameters:** vecType Boolean vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/any.xml">GLSL any man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###vecType< bool, P > glm::equal(T, &x = P, T, &y = P) <!-- _syntax: glm::equal(T, &x = P, T, &y = P)_ _name: glm::equal_ _returns: vecType< bool, P >_ _returns_description: _ _parameters: const vecType< T, P > &x=P, const vecType< T, P > &y=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns the component-wise comparison of result x == y. **Type parameters:** vecType Floating-point, integer or boolean vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/equal.xml">GLSL equal man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###vecType< bool, P > glm::greaterThan(T, &x = P, T, &y = P) <!-- _syntax: glm::greaterThan(T, &x = P, T, &y = P)_ _name: glm::greaterThan_ _returns: vecType< bool, P >_ _returns_description: _ _parameters: const vecType< T, P > &x=P, const vecType< T, P > &y=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns the component-wise comparison of result x > y. **Type parameters:** vecType Floating-point or integer vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/greaterThan.xml">GLSL greaterThan man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###vecType< bool, P > glm::greaterThanEqual(T, &x = P, T, &y = P) <!-- _syntax: glm::greaterThanEqual(T, &x = P, T, &y = P)_ _name: glm::greaterThanEqual_ _returns: vecType< bool, P >_ _returns_description: _ _parameters: const vecType< T, P > &x=P, const vecType< T, P > &y=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns the component-wise comparison of result x >= y. **Type parameters:** vecType Floating-point or integer vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/greaterThanEqual.xml">GLSL greaterThanEqual man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###vecType< bool, P > glm::lessThan(T, &x = P, T, &y = P) <!-- _syntax: glm::lessThan(T, &x = P, T, &y = P)_ _name: glm::lessThan_ _returns: vecType< bool, P >_ _returns_description: _ _parameters: const vecType< T, P > &x=P, const vecType< T, P > &y=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns the component-wise comparison result of x < y. **Type parameters:** vecType Floating-point or integer vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/lessThan.xml">GLSL lessThan man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###vecType< bool, P > glm::lessThanEqual(T, &x = P, T, &y = P) <!-- _syntax: glm::lessThanEqual(T, &x = P, T, &y = P)_ _name: glm::lessThanEqual_ _returns: vecType< bool, P >_ _returns_description: _ _parameters: const vecType< T, P > &x=P, const vecType< T, P > &y=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns the component-wise comparison of result x <= y. **Type parameters:** vecType Floating-point or integer vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/lessThanEqual.xml">GLSL lessThanEqual man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###vecType< bool, P > glm::notEqual(T, &x = P, T, &y = P) <!-- _syntax: glm::notEqual(T, &x = P, T, &y = P)_ _name: glm::notEqual_ _returns: vecType< bool, P >_ _returns_description: _ _parameters: const vecType< T, P > &x=P, const vecType< T, P > &y=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ Returns the component-wise comparison of result x != y. **Type parameters:** vecType Floating-point, integer or boolean vector types. **See also**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/notEqual.xml">GLSL notEqual man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!-----------------------------------------------------------------------------> ###vecType< bool, P > glm::not_(bool, &v = P) <!-- _syntax: glm::not_(bool, &v = P)_ _name: glm::not__ _returns: vecType< bool, P >_ _returns_description: _ _parameters: const vecType< bool, P > &v=P_ _version_started: 0.10.0_ _version_deprecated: _ _summary: _ _constant: False_ _static: False_ _visible: True_ _advanced: False_ --> _inlined_description: _ 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**: <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/not.xml">GLSL not man page</a> **See also**: <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> _description: _ <!----------------------------------------------------------------------------->