plumageRender/3rdparty/glm/gtx/raw_data.hpp

50 lines
1.2 KiB
C++
Raw Normal View History

2023-05-17 14:49:05 +08:00
/// @ref gtx_raw_data
/// @file glm/gtx/raw_data.hpp
///
/// @see core (dependence)
///
/// @defgroup gtx_raw_data GLM_GTX_raw_data
/// @ingroup gtx
///
2023-06-07 10:52:04 +08:00
/// Include <glm/gtx/raw_data.hpp> to use the features of this extension.
2023-05-17 14:49:05 +08:00
///
2023-06-07 10:52:04 +08:00
/// Projection of a vector to other one
2023-05-17 14:49:05 +08:00
#pragma once
// Dependencies
2025-02-15 20:55:58 +08:00
#include "../ext/scalar_uint_sized.hpp"
2023-05-17 14:49:05 +08:00
#include "../detail/setup.hpp"
#ifndef GLM_ENABLE_EXPERIMENTAL
# 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."
2025-02-15 20:55:58 +08:00
#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
2023-05-17 14:49:05 +08:00
# pragma message("GLM: GLM_GTX_raw_data extension included")
#endif
namespace glm
{
/// @addtogroup gtx_raw_data
/// @{
2025-02-15 20:55:58 +08:00
//! Type for byte numbers.
2023-05-17 14:49:05 +08:00
//! From GLM_GTX_raw_data extension.
typedef detail::uint8 byte;
2025-02-15 20:55:58 +08:00
//! Type for word numbers.
2023-05-17 14:49:05 +08:00
//! From GLM_GTX_raw_data extension.
typedef detail::uint16 word;
2025-02-15 20:55:58 +08:00
//! Type for dword numbers.
2023-05-17 14:49:05 +08:00
//! From GLM_GTX_raw_data extension.
typedef detail::uint32 dword;
2025-02-15 20:55:58 +08:00
//! Type for qword numbers.
2023-05-17 14:49:05 +08:00
//! From GLM_GTX_raw_data extension.
typedef detail::uint64 qword;
/// @}
}// namespace glm
#include "raw_data.inl"