Collection of DPF-based plugins for packaging
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2KB

  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 "../detail/setup.hpp"
  15. #include "../detail/type_int.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_MESSAGES_ENABLED && !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"