Refactor EXT headers

This commit is contained in:
Christophe Riccio 2018-08-07 18:41:41 +02:00
parent 26be7bda82
commit 6d34ae4c5e
115 changed files with 207 additions and 286 deletions

View File

@ -1,7 +1,6 @@
/// @ref core
/// @file glm/detail/func_integer.inl
#include "../ext/vec1.hpp"
#include "type_vec1.hpp"
#include "type_vec2.hpp"
#include "type_vec3.hpp"
#include "type_vec4.hpp"

View File

@ -4,7 +4,7 @@
#define GLM_FORCE_MESSAGES
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp>
#include <glm/ext/vec1.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/dual_quaternion.hpp>

View File

@ -40,6 +40,23 @@ namespace glm
template<length_t C, length_t R, typename T, qualifier Q = defaultp> struct mat;
template<typename T, qualifier Q = defaultp> struct qua;
# if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tvec1 = vec<1, T, Q>;
template <typename T, qualifier Q = defaultp> using tvec2 = vec<2, T, Q>;
template <typename T, qualifier Q = defaultp> using tvec3 = vec<3, T, Q>;
template <typename T, qualifier Q = defaultp> using tvec4 = vec<4, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat2x2 = mat<2, 2, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat2x3 = mat<2, 3, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat2x4 = mat<2, 4, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat3x2 = mat<3, 2, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat3x3 = mat<3, 3, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat3x4 = mat<3, 4, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat4x2 = mat<4, 2, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat4x3 = mat<4, 3, T, Q>;
template <typename T, qualifier Q = defaultp> using tmat4x4 = mat<4, 4, T, Q>;
template <typename T, qualifier Q = defaultp> using tquat = qua<T, Q>;
# endif
namespace detail
{
template<glm::qualifier P>

View File

@ -13,7 +13,6 @@
# pragma message("GLM: All extensions included (not recommended)")
#endif//GLM_MESSAGES
#include "./ext/vec1.hpp"
#include "./ext/vector_relational.hpp"
#include "./gtc/bitfield.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/dmat2x2.hpp
/// @file glm/ext/matrix_double2x2.hpp
#pragma once
#include "../detail/type_mat2x2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat2x3.hpp
/// @file glm/ext/matrix_double2x3.hpp
#pragma once
#include "../detail/type_mat2x3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat2x4.hpp
/// @file glm/ext/matrix_double2x4.hpp
#pragma once
#include "../detail/type_mat2x4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat3x2.hpp
/// @file glm/ext/matrix_double3x2.hpp
#pragma once
#include "../detail/type_mat3x2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat3x3.hpp
/// @file glm/ext/matrix_double3x3.hpp
#pragma once
#include "../detail/type_mat3x3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat3x4.hpp
/// @file glm/ext/matrix_double3x4.hpp
#pragma once
#include "../detail/type_mat3x4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat4x2.hpp
/// @file glm/ext/matrix_double4x2.hpp
#pragma once
#include "../detail/type_mat4x2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat4x3.hpp
/// @file glm/ext/matrix_double4x3.hpp
#pragma once
#include "../detail/type_mat4x3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_dmat4x4.hpp
/// @file glm/ext/matrix_double4x4.hpp
#pragma once
#include "../detail/type_mat4x4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat2x2.hpp
/// @file glm/ext/matrix_float2x2.hpp
#pragma once
#include "../detail/type_mat2x2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat2x3.hpp
/// @file glm/ext/matrix_float2x3.hpp
#pragma once
#include "../detail/type_mat2x3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat2x4.hpp
/// @file glm/ext/matrix_float2x4.hpp
#pragma once
#include "../detail/type_mat2x4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat3x2.hpp
/// @file glm/ext/matrix_float3x2.hpp
#pragma once
#include "../detail/type_mat3x2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat3x3.hpp
/// @file glm/ext/matrix_float3x3.hpp
#pragma once
#include "../detail/type_mat3x3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat3x4.hpp
/// @file glm/ext/matrix_float3x4.hpp
#pragma once
#include "../detail/type_mat3x4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat4x2.hpp
/// @file glm/ext/matrix_float4x2.hpp
#pragma once
#include "../detail/type_mat4x2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat4x3.hpp
/// @file glm/ext/matrix_float4x3.hpp
#pragma once
#include "../detail/type_mat4x3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/matrix_mat4x4.hpp
/// @file glm/ext/matrix_float4x4.hpp
#pragma once
#include "../detail/type_mat4x4.hpp"

View File

@ -1,21 +0,0 @@
/// @ref core
/// @file glm/vec1.hpp
#pragma once
#include "vector_bvec1.hpp"
#include "vector_bvec1_precision.hpp"
#include "vector_vec1.hpp"
#include "vector_vec1_precision.hpp"
#include "vector_dvec1.hpp"
#include "vector_dvec1_precision.hpp"
#include "vector_ivec1.hpp"
#include "vector_ivec1_precision.hpp"
#include "vector_uvec1.hpp"
#include "vector_uvec1_precision.hpp"
namespace glm
{
# if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tvec1 = vec<1, T, Q>;
# endif
}//namespace glm

View File

@ -1,9 +1,9 @@
/// @ref ext_vector_bvec1
/// @file glm/ext/vector_bvec1.hpp
/// @file glm/ext/vector_bool1.hpp
///
/// @see core (dependence)
///
/// @defgroup ext_vector_bvec1 GLM_EXT_vector_bvec1
/// @defgroup ext_vector_bool1 GLM_EXT_vector_bool1
/// @ingroup ext
///
/// Include <glm/ext/vector_bvec1.hpp> to use the features of this extension.

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/bvec2.hpp
/// @file glm/ext/vector_bool2.hpp
#pragma once
#include "../detail/type_vec2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/bvec3.hpp
/// @file glm/ext/vector_bool3.hpp
#pragma once
#include "../detail/type_vec3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/bvec4.hpp
/// @file glm/ext/vector_bool4.hpp
#pragma once
#include "../detail/type_vec4.hpp"

View File

@ -1,12 +1,12 @@
/// @ref ext_vector_dvec1
/// @file glm/ext/vector_dvec1.hpp
/// @ref ext_vector_double1
/// @file glm/ext/vector_double1.hpp
///
/// @see core (dependence)
///
/// @defgroup ext_vector_dvec1 GLM_EXT_vector_dvec1
/// @defgroup ext_vector_dvec1 GLM_EXT_vector_double1
/// @ingroup ext
///
/// Include <glm/ext/vector_dvec1.hpp> to use the features of this extension.
/// Include <glm/ext/vector_double1.hpp> to use the features of this extension.
///
/// Expose dvec1 vector type.

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/dvec2.hpp
/// @file glm/ext/vector_double2.hpp
#pragma once
#include "../detail/type_vec2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/dvec3.hpp
/// @file glm/ext/vector_double3.hpp
#pragma once
#include "../detail/type_vec3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/dvec4.hpp
/// @file glm/ext/vector_double4.hpp
#pragma once
#include "../detail/type_vec4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/ext/vector_vec2.hpp
/// @file glm/ext/vector_float2.hpp
#pragma once
#include "../detail/type_vec2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/fvec3.hpp
/// @file glm/ext/vector_float3.hpp
#pragma once
#include "../detail/type_vec3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/fvec4.hpp
/// @file glm/ext/vector_float4.hpp
#pragma once
#include "../detail/type_vec4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/ivec2.hpp
/// @file glm/ext/vector_int2.hpp
#pragma once
#include "../detail/type_vec2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/ivec3.hpp
/// @file glm/ext/vector_int3.hpp
#pragma once
#include "../detail/type_vec3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/ivec4.hpp
/// @file glm/ext/vector_int4.hpp
#pragma once
#include "../detail/type_vec4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref ext_vector_uvec1
/// @file glm/ext/vector_uvec1.hpp
/// @file glm/ext/vector_uint1.hpp
///
/// @see core (dependence)
///

View File

@ -1,12 +1,12 @@
/// @ref ext_uvec1_precision
/// @file glm/ext/uvec1_precision.hpp
/// @ref ext_vector_uint1_precision
/// @file glm/ext/vector_uint1_precision.hpp
///
/// @see core (dependence)
///
/// @defgroup ext_uvec1_precision GLM_EXT_uvec1_precision
/// @defgroup ext_vector_uint1_precision GLM_EXT_vector_uint1_precision
/// @ingroup ext
///
/// Include <glm/ext/uvec1_precision.hpp> to use the features of this extension.
/// Include <glm/ext/vector_uint1_precision.hpp> to use the features of this extension.
///
/// Add Exposes highp_uvec1, mediump_uvec1 and lowp_uvec1 types.
@ -15,12 +15,12 @@
#include "../detail/type_vec1.hpp"
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_EXT_uvec1_precision extension included")
# pragma message("GLM: GLM_EXT_vector_uint1_precision extension included")
#endif
namespace glm
{
/// @addtogroup ext_uvec1_precision
/// @addtogroup ext_vector_uint1_precision
/// @{
/// 1 component vector of unsigned integer values.

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/uvec2.hpp
/// @file glm/ext/vector_uint2.hpp
#pragma once
#include "../detail/type_vec2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/uvec2_precision.hpp
/// @file glm/ext/vector_uint2_precision.hpp
#pragma once
#include "../detail/type_vec2.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/uvec3.hpp
/// @file glm/ext/vector_uint3.hpp
#pragma once
#include "../detail/type_vec3.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/uvec3_precision.hpp
/// @file glm/ext/vector_uint3_precision.hpp
#pragma once
#include "../detail/setup.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/uvec4.hpp
/// @file glm/ext/vector_uint4.hpp
#pragma once
#include "../detail/type_vec4.hpp"

View File

@ -1,5 +1,5 @@
/// @ref core
/// @file glm/uvec4_precision.hpp
/// @file glm/ext/vector_uint4_precision.hpp
#pragma once
#include "../detail/type_vec4.hpp"

View File

@ -3,7 +3,7 @@
#include "../geometric.hpp"
#include "../exponential.hpp"
#include "../trigonometric.hpp"
#include "../ext/vec1.hpp"
#include "../detail/type_vec1.hpp"
#include <cstdlib>
#include <ctime>
#include <cassert>

View File

@ -13,7 +13,16 @@
#pragma once
// Dependency:
#include "../ext/vec1.hpp"
#include "../ext/vector_bool1.hpp"
#include "../ext/vector_bool1_precision.hpp"
#include "../ext/vector_float1.hpp"
#include "../ext/vector_float1_precision.hpp"
#include "../ext/vector_double1.hpp"
#include "../ext/vector_double1_precision.hpp"
#include "../ext/vector_int1.hpp"
#include "../ext/vector_int1_precision.hpp"
#include "../ext/vector_uint1.hpp"
#include "../ext/vector_uint1_precision.hpp"
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTC_vec1 extension included")

View File

@ -2,15 +2,8 @@
/// @file glm/mat2x2.hpp
#pragma once
#include "./ext/matrix_dmat2x2.hpp"
#include "./ext/matrix_dmat2x2_precision.hpp"
#include "./ext/matrix_mat2x2.hpp"
#include "./ext/matrix_mat2x2_precision.hpp"
#include "./ext/matrix_double2x2.hpp"
#include "./ext/matrix_double2x2_precision.hpp"
#include "./ext/matrix_float2x2.hpp"
#include "./ext/matrix_float2x2_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat2x2 = mat<2, 2, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm

View File

@ -2,15 +2,8 @@
/// @file glm/mat2x3.hpp
#pragma once
#include "./ext/matrix_dmat2x3.hpp"
#include "./ext/matrix_dmat2x3_precision.hpp"
#include "./ext/matrix_mat2x3.hpp"
#include "./ext/matrix_mat2x3_precision.hpp"
#include "./ext/matrix_double2x3.hpp"
#include "./ext/matrix_double2x3_precision.hpp"
#include "./ext/matrix_float2x3.hpp"
#include "./ext/matrix_float2x3_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat2x3 = mat<2, 3, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm

View File

@ -2,15 +2,8 @@
/// @file glm/mat2x4.hpp
#pragma once
#include "./ext/matrix_dmat2x4.hpp"
#include "./ext/matrix_dmat2x4_precision.hpp"
#include "./ext/matrix_mat2x4.hpp"
#include "./ext/matrix_mat2x4_precision.hpp"
#include "./ext/matrix_double2x4.hpp"
#include "./ext/matrix_double2x4_precision.hpp"
#include "./ext/matrix_float2x4.hpp"
#include "./ext/matrix_float2x4_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat2x4 = mat<2, 4, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm

View File

@ -2,15 +2,8 @@
/// @file glm/mat3x2.hpp
#pragma once
#include "./ext/matrix_dmat3x2.hpp"
#include "./ext/matrix_dmat3x2_precision.hpp"
#include "./ext/matrix_mat3x2.hpp"
#include "./ext/matrix_mat3x2_precision.hpp"
#include "./ext/matrix_double3x2.hpp"
#include "./ext/matrix_double3x2_precision.hpp"
#include "./ext/matrix_float3x2.hpp"
#include "./ext/matrix_float3x2_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat3x2 = mat<3, 2, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm

View File

@ -2,15 +2,7 @@
/// @file glm/mat3x3.hpp
#pragma once
#include "./ext/matrix_dmat3x3.hpp"
#include "./ext/matrix_dmat3x3_precision.hpp"
#include "./ext/matrix_mat3x3.hpp"
#include "./ext/matrix_mat3x3_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat3x3 = mat<3, 3, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm
#include "./ext/matrix_double3x3.hpp"
#include "./ext/matrix_double3x3_precision.hpp"
#include "./ext/matrix_float3x3.hpp"
#include "./ext/matrix_float3x3_precision.hpp"

View File

@ -2,15 +2,7 @@
/// @file glm/mat3x4.hpp
#pragma once
#include "./ext/matrix_dmat3x4.hpp"
#include "./ext/matrix_dmat3x4_precision.hpp"
#include "./ext/matrix_mat3x4.hpp"
#include "./ext/matrix_mat3x4_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat3x4 = mat<3, 4, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm
#include "./ext/matrix_double3x4.hpp"
#include "./ext/matrix_double3x4_precision.hpp"
#include "./ext/matrix_float3x4.hpp"
#include "./ext/matrix_float3x4_precision.hpp"

View File

@ -2,15 +2,8 @@
/// @file glm/mat4x2.hpp
#pragma once
#include "./ext/matrix_dmat4x2.hpp"
#include "./ext/matrix_dmat4x2_precision.hpp"
#include "./ext/matrix_mat4x2.hpp"
#include "./ext/matrix_mat4x2_precision.hpp"
#include "./ext/matrix_double4x2.hpp"
#include "./ext/matrix_double4x2_precision.hpp"
#include "./ext/matrix_float4x2.hpp"
#include "./ext/matrix_float4x2_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat4x2 = mat<4, 2, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm

View File

@ -2,15 +2,7 @@
/// @file glm/mat4x3.hpp
#pragma once
#include "./ext/matrix_dmat4x3.hpp"
#include "./ext/matrix_dmat4x3_precision.hpp"
#include "./ext/matrix_mat4x3.hpp"
#include "./ext/matrix_mat4x3_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat4x3 = mat<4, 3, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm
#include "./ext/matrix_double4x3.hpp"
#include "./ext/matrix_double4x3_precision.hpp"
#include "./ext/matrix_float4x3.hpp"
#include "./ext/matrix_float4x3_precision.hpp"

View File

@ -2,15 +2,8 @@
/// @file glm/mat4x4.hpp
#pragma once
#include "./ext/matrix_dmat4x4.hpp"
#include "./ext/matrix_dmat4x4_precision.hpp"
#include "./ext/matrix_mat4x4.hpp"
#include "./ext/matrix_mat4x4_precision.hpp"
#include "./ext/matrix_double4x4.hpp"
#include "./ext/matrix_double4x4_precision.hpp"
#include "./ext/matrix_float4x4.hpp"
#include "./ext/matrix_float4x4_precision.hpp"
namespace glm
{
#if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tmat4x4 = mat<4, 4, T, Q>;
#endif//GLM_HAS_TEMPLATE_ALIASES
}//namespace glm

View File

@ -13,9 +13,9 @@
#pragma once
#include "./ext/vector_uvec2.hpp"
#include "./ext/vector_vec2.hpp"
#include "./ext/vector_vec4.hpp"
#include "./ext/vector_uint2.hpp"
#include "./ext/vector_float2.hpp"
#include "./ext/vector_float4.hpp"
namespace glm
{

View File

@ -2,20 +2,13 @@
/// @file glm/vec2.hpp
#pragma once
#include "./ext/vector_bvec2.hpp"
#include "./ext/vector_bvec2_precision.hpp"
#include "./ext/vector_vec2.hpp"
#include "./ext/vector_vec2_precision.hpp"
#include "./ext/vector_dvec2.hpp"
#include "./ext/vector_dvec2_precision.hpp"
#include "./ext/vector_ivec2.hpp"
#include "./ext/vector_ivec2_precision.hpp"
#include "./ext/vector_uvec2.hpp"
#include "./ext/vector_uvec2_precision.hpp"
namespace glm
{
# if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tvec2 = vec<2, T, Q>;
# endif
}//namespace glm
#include "./ext/vector_bool2.hpp"
#include "./ext/vector_bool2_precision.hpp"
#include "./ext/vector_float2.hpp"
#include "./ext/vector_float2_precision.hpp"
#include "./ext/vector_double2.hpp"
#include "./ext/vector_double2_precision.hpp"
#include "./ext/vector_int2.hpp"
#include "./ext/vector_int2_precision.hpp"
#include "./ext/vector_uint2.hpp"
#include "./ext/vector_uint2_precision.hpp"

View File

@ -2,21 +2,13 @@
/// @file glm/vec3.hpp
#pragma once
#include "./ext/vector_bvec3.hpp"
#include "./ext/vector_bvec3_precision.hpp"
#include "./ext/vector_vec3.hpp"
#include "./ext/vector_vec3_precision.hpp"
#include "./ext/vector_dvec3.hpp"
#include "./ext/vector_dvec3_precision.hpp"
#include "./ext/vector_ivec3.hpp"
#include "./ext/vector_ivec3_precision.hpp"
#include "./ext/vector_uvec3.hpp"
#include "./ext/vector_uvec3_precision.hpp"
namespace glm
{
# if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tvec3 = vec<3, T, Q>;
# endif
}//namespace glm
#include "./ext/vector_bool3.hpp"
#include "./ext/vector_bool3_precision.hpp"
#include "./ext/vector_float3.hpp"
#include "./ext/vector_float3_precision.hpp"
#include "./ext/vector_double3.hpp"
#include "./ext/vector_double3_precision.hpp"
#include "./ext/vector_int3.hpp"
#include "./ext/vector_int3_precision.hpp"
#include "./ext/vector_uint3.hpp"
#include "./ext/vector_uint3_precision.hpp"

View File

@ -2,21 +2,14 @@
/// @file glm/vec4.hpp
#pragma once
#include "./ext/vector_bvec4.hpp"
#include "./ext/vector_bvec4_precision.hpp"
#include "./ext/vector_vec4.hpp"
#include "./ext/vector_vec4_precision.hpp"
#include "./ext/vector_dvec4.hpp"
#include "./ext/vector_dvec4_precision.hpp"
#include "./ext/vector_ivec4.hpp"
#include "./ext/vector_ivec4_precision.hpp"
#include "./ext/vector_uvec4.hpp"
#include "./ext/vector_uvec4_precision.hpp"
namespace glm
{
# if GLM_HAS_TEMPLATE_ALIASES
template <typename T, qualifier Q = defaultp> using tvec4 = vec<4, T, Q>;
# endif
}//namespace glm
#include "./ext/vector_bool4.hpp"
#include "./ext/vector_bool4_precision.hpp"
#include "./ext/vector_float4.hpp"
#include "./ext/vector_float4_precision.hpp"
#include "./ext/vector_double4.hpp"
#include "./ext/vector_double4_precision.hpp"
#include "./ext/vector_int4.hpp"
#include "./ext/vector_int4_precision.hpp"
#include "./ext/vector_uint4.hpp"
#include "./ext/vector_uint4_precision.hpp"

View File

@ -5,7 +5,9 @@
#include <glm/gtc/constants.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vec1.hpp>
#include <glm/ext/vector_int1.hpp>
#include <glm/ext/vector_bool1.hpp>
#include <glm/ext/vector_float1.hpp>
static int test_vec1()
{

View File

@ -4,9 +4,9 @@
#include <glm/gtc/constants.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/ext/matrix_relational.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vec1.hpp>
#include <cstring>
static int test_vec_memcpy()

View File

@ -1,8 +1,8 @@
#define GLM_FORCE_XYZW_ONLY
#include <glm/gtc/constants.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vec1.hpp>
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>

View File

@ -1,9 +1,10 @@
#define GLM_FORCE_EXPLICIT_CTOR
#include <glm/gtc/constants.hpp>
#include <glm/gtc/random.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/ext/scalar_relational.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vec1.hpp>
#include <glm/ext/vector_float1.hpp>
#include <glm/common.hpp>
#include <glm/vec4.hpp>
#include <glm/vec3.hpp>

Some files were not shown because too many files have changed in this diff Show More