| 1 | /// @ref gtx_number_precision |
| 2 | /// @file glm/gtx/number_precision.hpp |
| 3 | /// |
| 4 | /// @see core (dependence) |
| 5 | /// @see gtc_type_precision (dependence) |
| 6 | /// @see gtc_quaternion (dependence) |
| 7 | /// |
| 8 | /// @defgroup gtx_number_precision GLM_GTX_number_precision |
| 9 | /// @ingroup gtx |
| 10 | /// |
| 11 | /// Include <glm/gtx/number_precision.hpp> to use the features of this extension. |
| 12 | /// |
| 13 | /// Defined size types. |
| 14 | |
| 15 | #pragma once |
| 16 | |
| 17 | // Dependency: |
| 18 | #include "../glm.hpp" |
| 19 | #include "../gtc/type_precision.hpp" |
| 20 | |
| 21 | #ifndef GLM_ENABLE_EXPERIMENTAL |
| 22 | # error "GLM: GLM_GTX_number_precision is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." |
| 23 | #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) |
| 24 | # pragma message("GLM: GLM_GTX_number_precision extension included") |
| 25 | #endif |
| 26 | |
| 27 | namespace glm{ |
| 28 | ///////////////////////////// |
| 29 | // Unsigned int vector types |
| 30 | |
| 31 | /// @addtogroup gtx_number_precision |
| 32 | /// @{ |
| 33 | |
| 34 | ////////////////////// |
| 35 | // Float matrix types |
| 36 | |
| 37 | typedef f32 f32mat1; //!< \brief Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) |
| 38 | typedef f32 f32mat1x1; //!< \brief Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) |
| 39 | typedef f64 f64mat1; //!< \brief Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) |
| 40 | typedef f64 f64mat1x1; //!< \brief Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) |
| 41 | |
| 42 | /// @} |
| 43 | }//namespace glm |
| 44 |