master
ブランチ master
VulkanExample / dep / include / glm / gtx / raw_data.hpp
1.2 KB、49行 生 Blame 履歴
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
13#pragma once
14
15// Dependencies
16#include "../ext/scalar_uint_sized.hpp"
17#include "../detail/setup.hpp"
18
19#ifndef GLM_ENABLE_EXPERIMENTAL
20# 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."
21#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
22# pragma message("GLM: GLM_GTX_raw_data extension included")
23#endif
24
25namespace glm
26{
27 /// @addtogroup gtx_raw_data
28 /// @{
29
30 //! Type for byte numbers.
31 //! From GLM_GTX_raw_data extension.
32 typedef detail::uint8 byte;
33
34 //! Type for word numbers.
35 //! From GLM_GTX_raw_data extension.
36 typedef detail::uint16 word;
37
38 //! Type for dword numbers.
39 //! From GLM_GTX_raw_data extension.
40 typedef detail::uint32 dword;
41
42 //! Type for qword numbers.
43 //! From GLM_GTX_raw_data extension.
44 typedef detail::uint64 qword;
45
46 /// @}
47}// namespace glm
48
49#include "raw_data.inl"