raw_data.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef GLM_ENABLE_EXPERIMENTAL
  17. # error "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."
  18. #endif
  19. #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
  20. # pragma message("GLM: GLM_GTX_raw_data extension included")
  21. #endif
  22. namespace glm
  23. {
  24. /// @addtogroup gtx_raw_data
  25. /// @{
  26. //! Type for byte numbers.
  27. //! From GLM_GTX_raw_data extension.
  28. typedef detail::uint8 byte;
  29. //! Type for word numbers.
  30. //! From GLM_GTX_raw_data extension.
  31. typedef detail::uint16 word;
  32. //! Type for dword numbers.
  33. //! From GLM_GTX_raw_data extension.
  34. typedef detail::uint32 dword;
  35. //! Type for qword numbers.
  36. //! From GLM_GTX_raw_data extension.
  37. typedef detail::uint64 qword;
  38. /// @}
  39. }// namespace glm
  40. #include "raw_data.inl"