mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 20:13:40 +00:00
40 lines
1 KiB
C++
40 lines
1 KiB
C++
/// @ref ext_vector_uint1
|
|
/// @file glm/ext/vector_uint1.hpp
|
|
///
|
|
/// @defgroup ext_vector_uint1 GLM_EXT_vector_uint1
|
|
/// @ingroup ext
|
|
///
|
|
/// Exposes uvec1 vector type.
|
|
///
|
|
/// Include <glm/ext/vector_uvec1.hpp> to use the features of this extension.
|
|
///
|
|
/// @see ext_vector_int1 extension.
|
|
/// @see ext_vector_uint1_precision extension.
|
|
|
|
#pragma once
|
|
|
|
#include "../detail/type_vec1.hpp"
|
|
|
|
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
|
|
# pragma message("GLM: GLM_EXT_vector_uint1 extension included")
|
|
#endif
|
|
|
|
namespace glm
|
|
{
|
|
/// @addtogroup ext_vector_uint1
|
|
/// @{
|
|
|
|
/// 1 component vector of unsigned integer numbers.
|
|
typedef vec<1, unsigned int, defaultp> uvec1;
|
|
|
|
/// @}
|
|
}//namespace glm
|
|
|
|
#if GLM_CONFIG_CTOR_INIT == GLM_DISABLE
|
|
static_assert(std::is_trivially_default_constructible<glm::uvec1>::value);
|
|
#endif
|
|
static_assert(std::is_trivially_copy_assignable<glm::uvec1>::value);
|
|
static_assert(std::is_trivially_copyable<glm::uvec1>::value);
|
|
static_assert(std::is_copy_constructible<glm::uvec1>::value);
|
|
static_assert(glm::uvec1::length() == 1);
|