master
ブランチ master
ShaderPlayground / deps / glm / glm / gtx / raw_data.hpp
1.2 KB、51行 生 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#endif
22
23#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24# pragma message("GLM: GLM_GTX_raw_data extension included")
25#endif
26
27namespace glm
28{
29 /// @addtogroup gtx_raw_data
30 /// @{
31
32 //! Type for byte numbers.
33 //! From GLM_GTX_raw_data extension.
34 typedef detail::uint8 byte;
35
36 //! Type for word numbers.
37 //! From GLM_GTX_raw_data extension.
38 typedef detail::uint16 word;
39
40 //! Type for dword numbers.
41 //! From GLM_GTX_raw_data extension.
42 typedef detail::uint32 dword;
43
44 //! Type for qword numbers.
45 //! From GLM_GTX_raw_data extension.
46 typedef detail::uint64 qword;
47
48 /// @}
49}// namespace glm
50
51#include "raw_data.inl"