mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-12 23:37:14 +00:00
52 lines
1.5 KiB
C++
52 lines
1.5 KiB
C++
/// @ref ext_matrix_uint3x3
|
|
/// @file glm/ext/matrix_uint3x3.hpp
|
|
///
|
|
/// @see core (dependence)
|
|
///
|
|
/// @defgroup ext_matrix_uint3x3 GLM_EXT_matrix_uint3x3
|
|
/// @ingroup ext
|
|
///
|
|
/// Include <glm/ext/matrix_uint3x3.hpp> to use the features of this extension.
|
|
///
|
|
/// Defines a number of matrices with integer types.
|
|
|
|
#pragma once
|
|
|
|
// Dependency:
|
|
#include "../mat3x3.hpp"
|
|
|
|
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
|
|
# pragma message("GLM: GLM_EXT_matrix_uint3x3 extension included")
|
|
#endif
|
|
|
|
namespace glm
|
|
{
|
|
/// @addtogroup ext_matrix_uint3x3
|
|
/// @{
|
|
|
|
/// Unsigned integer 3x3 matrix.
|
|
///
|
|
/// @see ext_matrix_uint3x3
|
|
typedef mat<3, 3, uint, defaultp> umat3x3;
|
|
|
|
/// Unsigned integer 3x3 matrix.
|
|
///
|
|
/// @see ext_matrix_uint3x3
|
|
typedef mat<3, 3, uint, defaultp> umat3;
|
|
|
|
/// @}
|
|
}//namespace glm
|
|
|
|
#if GLM_CONFIG_CTOR_INIT == GLM_DISABLE
|
|
static_assert(std::is_trivially_default_constructible<glm::umat3x3>::value);
|
|
static_assert(std::is_trivially_default_constructible<glm::umat3>::value);
|
|
#endif
|
|
static_assert(std::is_trivially_copy_assignable<glm::umat3x3>::value);
|
|
static_assert(std::is_trivially_copy_assignable<glm::umat3>::value);
|
|
static_assert(std::is_trivially_copyable<glm::umat3x3>::value);
|
|
static_assert(std::is_trivially_copyable<glm::umat3>::value);
|
|
static_assert(std::is_copy_constructible<glm::umat3x3>::value);
|
|
static_assert(std::is_copy_constructible<glm::umat3>::value);
|
|
static_assert(glm::umat3x3::length() == 3);
|
|
static_assert(glm::umat3::length() == 3);
|