quaternion_double_precision.hpp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /// @ref ext_quaternion_double_precision
  2. /// @file glm/ext/quaternion_double_precision.hpp
  3. ///
  4. /// @defgroup ext_quaternion_double_precision GLM_EXT_quaternion_double_precision
  5. /// @ingroup ext
  6. ///
  7. /// Exposes double-precision floating point quaternion type with various precision in term of ULPs.
  8. ///
  9. /// Include <glm/ext/quaternion_double_precision.hpp> to use the features of this extension.
  10. #pragma once
  11. // Dependency:
  12. #include "../detail/type_quat.hpp"
  13. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  14. # pragma message("GLM: GLM_EXT_quaternion_double_precision extension included")
  15. #endif
  16. namespace glm
  17. {
  18. /// @addtogroup ext_quaternion_double_precision
  19. /// @{
  20. /// Quaternion of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
  21. ///
  22. /// @see ext_quaternion_double_precision
  23. typedef qua<double, lowp> lowp_dquat;
  24. /// Quaternion of medium double-qualifier floating-point numbers using high precision arithmetic in term of ULPs.
  25. ///
  26. /// @see ext_quaternion_double_precision
  27. typedef qua<double, mediump> mediump_dquat;
  28. /// Quaternion of high double-qualifier floating-point numbers using high precision arithmetic in term of ULPs.
  29. ///
  30. /// @see ext_quaternion_double_precision
  31. typedef qua<double, highp> highp_dquat;
  32. /// @}
  33. } //namespace glm