raw_data.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /// @ref gtx_raw_data
  2. /// @file glm/gtx/raw_data.hpp
  3. ///
  4. /// @see core (dependence)
  5. ///
  6. /// @defgroup gtx_raw_data GLM_GTX_raw_data
  7. /// @ingroup gtx
  8. ///
  9. /// Include <glm/gtx/raw_data.hpp> to use the features of this extension.
  10. ///
  11. /// Projection of a vector to other one
  12. #pragma once
  13. // Dependencies
  14. #include "../ext/scalar_uint_sized.hpp"
  15. #include "../detail/setup.hpp"
  16. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  17. # ifndef GLM_ENABLE_EXPERIMENTAL
  18. # pragma message("GLM: GLM_GTX_raw_data 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.")
  19. # else
  20. # pragma message("GLM: GLM_GTX_raw_data extension included")
  21. # endif
  22. #endif
  23. namespace glm
  24. {
  25. /// @addtogroup gtx_raw_data
  26. /// @{
  27. //! Type for byte numbers.
  28. //! From GLM_GTX_raw_data extension.
  29. typedef detail::uint8 byte;
  30. //! Type for word numbers.
  31. //! From GLM_GTX_raw_data extension.
  32. typedef detail::uint16 word;
  33. //! Type for dword numbers.
  34. //! From GLM_GTX_raw_data extension.
  35. typedef detail::uint32 dword;
  36. //! Type for qword numbers.
  37. //! From GLM_GTX_raw_data extension.
  38. typedef detail::uint64 qword;
  39. /// @}
  40. }// namespace glm
  41. #include "raw_data.inl"