0.9.9 API documenation
|
The core of GLM, which implements exactly and only the GLSL specification to the degree possible. More...
Modules | |
Common functions | |
These all operate component-wise. | |
Exponential functions | |
These all operate component-wise. | |
Geometric functions | |
These operate on vectors as vectors, not component-wise. | |
Integer functions | |
These all operate component-wise. | |
Matrix functions | |
For each of the following built-in matrix functions, there is both a single-qualifier floating point version, where all arguments and return values are single qualifier, and a double-qualifier floating version, where all arguments and return values are double qualifier. | |
Floating-Point Pack and Unpack Functions | |
These functions do not operate component-wise, rather as described in each case. | |
Angle and Trigonometry Functions | |
Function parameters specified as angle are assumed to be in units of radians. | |
Vector Relational Functions | |
Relational and equality operators (<, <=, >, >=, ==, !=) are defined to operate on scalars and produce scalar Boolean results. | |
Types | |
The standard types defined by the specification. | |
Precision types | |
Non-GLSL types that are used to define qualifier-based types. | |
Template types | |
The generic template types used as the basis for the core types. | |
The core of GLM, which implements exactly and only the GLSL specification to the degree possible.
The GLM core consists of C++ types that mirror GLSL types and C++ functions that mirror the GLSL functions. It also includes a set of qualifier-based types that can be used in the appropriate functions. The C++ types are all based on a basic set of template types.
The best documentation for GLM Core is the current GLSL specification, version 4.2 (pdf file).
GLM core functionalities require <glm/glm.hpp> to be included to be used.