scalar_float_sized.hpp 968 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /// @ref ext_scalar_float_sized
  2. /// @file glm/ext/scalar_float_sized.hpp
  3. ///
  4. /// @see core (dependence)
  5. ///
  6. /// @defgroup ext_scalar_float_sized GLM_EXT_scalar_float_sized
  7. /// @ingroup ext
  8. ///
  9. /// Include <glm/ext/scalar_float_sized.hpp> to use the features of this extension.
  10. ///
  11. /// Exposes float scalar type.
  12. #pragma once
  13. #include "../detail/setup.hpp"
  14. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  15. # pragma message("GLM: GLM_EXT_scalar_float_sized extension included")
  16. #endif
  17. namespace glm
  18. {
  19. /// @addtogroup ext_scalar_float
  20. /// @{
  21. /// Low qualifier floating-point numbers.
  22. /// There is no guarantee on the actual qualifier.
  23. ///
  24. /// @see ext_vector_relational
  25. typedef float float32;
  26. # ifndef GLM_FORCE_SINGLE_ONLY
  27. /// Low qualifier floating-point numbers.
  28. /// There is no guarantee on the actual qualifier.
  29. ///
  30. /// @see ext_vector_relational
  31. typedef double float64;
  32. # endif//GLM_FORCE_SINGLE_ONLY
  33. /// @}
  34. }//namespace glm