2011-02-07 12:31:35 +00:00
|
|
|
/*!
|
2011-02-05 00:52:58 +00:00
|
|
|
\defgroup core GLM Core
|
|
|
|
|
|
|
|
\brief The core of GLM, which implements exactly and only the GLSL specification to the degree possible.
|
|
|
|
|
|
|
|
The GLM core consists of \ref core_types "C++ types that mirror GLSL types",
|
|
|
|
\ref core_funcs "C++ functions that mirror the GLSL functions". It also includes
|
|
|
|
\ref core_precision "a set of precision-based types" that can be used in the appropriate
|
|
|
|
functions. The C++ types are all based on a basic set of \ref core_template "template types".
|
2011-02-07 12:31:35 +00:00
|
|
|
|
|
|
|
The best documentation for GLM Core is the current GLSL specification,
|
|
|
|
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf">version 4.1
|
|
|
|
(pdf file)</a>.
|
|
|
|
There are a few \ref pg_differences "differences" between GLM core and GLSL.
|
2011-05-12 16:36:29 +00:00
|
|
|
|
|
|
|
GLM core functionnalities requires <glm/glm.hpp> to be included to be used.
|
2011-02-05 00:52:58 +00:00
|
|
|
**/
|
|
|
|
|
|
|
|
|
2011-02-07 12:31:35 +00:00
|
|
|
/*!
|
2011-02-09 13:51:54 +00:00
|
|
|
\defgroup core_types Types
|
2011-02-05 00:52:58 +00:00
|
|
|
|
2011-02-08 16:03:45 +00:00
|
|
|
\brief The standard types defined by the specification.
|
2011-02-05 00:52:58 +00:00
|
|
|
|
|
|
|
These types are all typedefs of more generalized, template types. To see the definiton
|
2011-02-07 12:31:35 +00:00
|
|
|
of these template types, go to \ref core_template.
|
2011-02-05 00:52:58 +00:00
|
|
|
|
|
|
|
\ingroup core
|
|
|
|
**/
|
|
|
|
|
2011-02-07 12:31:35 +00:00
|
|
|
/*!
|
2011-02-09 13:55:55 +00:00
|
|
|
\defgroup core_precision Precision types
|
2011-02-05 00:52:58 +00:00
|
|
|
|
|
|
|
\brief Non-GLSL types that are used to define precision-based types.
|
|
|
|
|
|
|
|
The GLSL language allows the user to define the precision of a particular variable.
|
|
|
|
In OpenGL's GLSL, these precision qualifiers have no effect; they are there for compatibility
|
|
|
|
with OpenGL ES's precision qualifiers, where they \em do have an effect.
|
|
|
|
|
|
|
|
C++ has no language equivalent to precision qualifiers. So GLM provides the next-best thing:
|
|
|
|
a number of typedefs of the \ref core_template that use a particular precision.
|
|
|
|
|
|
|
|
None of these types make any guarantees about the actual precision used.
|
|
|
|
|
|
|
|
\ingroup core
|
|
|
|
**/
|
|
|
|
|
2011-02-07 12:31:35 +00:00
|
|
|
/*!
|
2011-02-09 13:55:55 +00:00
|
|
|
\defgroup core_template Template types
|
2011-02-05 00:52:58 +00:00
|
|
|
|
2011-02-09 13:51:54 +00:00
|
|
|
\brief The generic template types used as the basis for the core types.
|
2011-02-05 00:52:58 +00:00
|
|
|
|
|
|
|
These types are all templates used to define the actual \ref core_types.
|
2011-02-09 13:51:54 +00:00
|
|
|
These templetes are implementation details of GLM types and should not be used explicitly.
|
2011-02-05 00:52:58 +00:00
|
|
|
|
|
|
|
\ingroup core
|
|
|
|
**/
|
|
|
|
|
2011-02-07 12:31:35 +00:00
|
|
|
/*!
|
2011-02-09 13:51:54 +00:00
|
|
|
\defgroup core_funcs Functions
|
2011-02-05 00:52:58 +00:00
|
|
|
|
2011-02-08 16:03:45 +00:00
|
|
|
\brief The functions defined by the specification.
|
2011-02-05 00:52:58 +00:00
|
|
|
|
|
|
|
\ingroup core
|
|
|
|
**/
|
|
|
|
|