quaternion_float_precision.hpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /// @ref ext_quaternion_float
  2. /// @file glm/ext/quaternion_float.hpp
  3. ///
  4. /// @see core (dependence)
  5. ///
  6. /// @defgroup ext_quaternion_float GLM_EXT_quaternion_float
  7. /// @ingroup ext
  8. ///
  9. /// Include <glm/ext/quaternion_float.hpp> to use the features of this extension.
  10. ///
  11. /// Defines a templated quaternion type and several quaternion operations.
  12. #pragma once
  13. // Dependency:
  14. #include "../detail/type_quat.hpp"
  15. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  16. # pragma message("GLM: GLM_EXT_quaternion_float extension included")
  17. #endif
  18. namespace glm
  19. {
  20. /// @addtogroup ext_quaternion_float
  21. /// @{
  22. /// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
  23. ///
  24. /// @see ext_quaternion_float
  25. typedef qua<float, lowp> lowp_quat;
  26. /// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
  27. ///
  28. /// @see ext_quaternion_float
  29. typedef qua<float, mediump> mediump_quat;
  30. /// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
  31. ///
  32. /// @see ext_quaternion_float
  33. typedef qua<float, highp> highp_quat;
  34. /// @}
  35. } //namespace glm