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

@@ -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>

View File

@@ -1,12 +1,12 @@
#include <glm/common.hpp>
#include <glm/exponential.hpp>
#include <glm/gtc/epsilon.hpp>
#include <glm/gtc/constants.hpp>
#include <glm/gtc/ulp.hpp>
#include <glm/ext/vector_vec1.hpp>
#include <glm/ext/vector_vec2.hpp>
#include <glm/ext/vector_vec3.hpp>
#include <glm/ext/vector_vec4.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vector_float1.hpp>
#include <glm/ext/vector_float2.hpp>
#include <glm/ext/vector_float3.hpp>
#include <glm/ext/vector_float4.hpp>
static int test_pow()
{

View File

@@ -2,13 +2,13 @@
#include <glm/trigonometric.hpp>
#include <glm/ext/scalar_relational.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vector_vec1.hpp>
#include <glm/ext/vector_vec2.hpp>
#include <glm/ext/vector_vec3.hpp>
#include <glm/ext/vector_vec4.hpp>
#include <glm/ext/vector_dvec2.hpp>
#include <glm/ext/vector_dvec3.hpp>
#include <glm/ext/vector_dvec4.hpp>
#include <glm/ext/vector_float1.hpp>
#include <glm/ext/vector_float2.hpp>
#include <glm/ext/vector_float3.hpp>
#include <glm/ext/vector_float4.hpp>
#include <glm/ext/vector_double2.hpp>
#include <glm/ext/vector_double3.hpp>
#include <glm/ext/vector_double4.hpp>
#include <limits>
namespace length

View File

@@ -1,11 +1,13 @@
#include <glm/integer.hpp>
#include <glm/vector_relational.hpp>
#include <glm/ext/vector_ivec2.hpp>
#include <glm/ext/vector_ivec3.hpp>
#include <glm/ext/vector_ivec4.hpp>
#include <glm/ext/vector_uvec2.hpp>
#include <glm/ext/vector_uvec3.hpp>
#include <glm/ext/vector_uvec4.hpp>
#include <glm/ext/vector_int1.hpp>
#include <glm/ext/vector_int2.hpp>
#include <glm/ext/vector_int3.hpp>
#include <glm/ext/vector_int4.hpp>
#include <glm/ext/vector_uint1.hpp>
#include <glm/ext/vector_uint2.hpp>
#include <glm/ext/vector_uint3.hpp>
#include <glm/ext/vector_uint4.hpp>
#include <vector>
#include <ctime>
#include <cstdio>

View File

@@ -1,7 +1,7 @@
#define GLM_FORCE_SWIZZLE
#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 <vector>

View File

@@ -1,9 +1,10 @@
#define GLM_FORCE_SWIZZLE
#include <glm/ext/vector_relational.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/gtc/constants.hpp>
#include <glm/ext/vector_float1.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/vector_relational.hpp>
#include <glm/vec2.hpp>
#include <glm/ext/vec1.hpp>
#include <vector>
#if GLM_HAS_TRIVIAL_QUERIES
# include <type_traits>

View File

@@ -1,6 +1,6 @@
#define GLM_FORCE_SWIZZLE
#include <glm/gtc/constants.hpp>
#include <glm/ext/vec1.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/vector_relational.hpp>
#include <glm/geometric.hpp>

View File

@@ -1,7 +1,7 @@
#define GLM_FORCE_ALIGNED
#define GLM_FORCE_SWIZZLE
#include <glm/gtc/constants.hpp>
#include <glm/ext/vec1.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/ext/scalar_relational.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/vector_relational.hpp>

View File

@@ -1,6 +1,6 @@
#include <glm/ext/matrix_relational.hpp>
#include <glm/ext/matrix_mat4x3.hpp>
#include <glm/ext/vector_vec4.hpp>
#include <glm/ext/matrix_float4x3.hpp>
#include <glm/ext/vector_float4.hpp>
int test_equal()
{

View File

@@ -1,6 +1,6 @@
#define GLM_FORCE_SWIZZLE
#include <glm/vector_relational.hpp>
#include <glm/ext/vec1.hpp>
#include <glm/gtc/vec1.hpp>
#include <vector>
static glm::vec1 g1;

View File

@@ -1,5 +1,5 @@
#include <glm/ext/vector_bvec1.hpp>
#include <glm/ext/vector_bvec1_precision.hpp>
#include <glm/ext/vector_bool1.hpp>
#include <glm/ext/vector_bool1_precision.hpp>
template <typename genType>
static int test_operators()

View File

@@ -1,11 +1,11 @@
#include <glm/gtc/constants.hpp>
#include <glm/ext/scalar_relational.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vector_dvec1.hpp>
#include <glm/ext/vector_dvec1_precision.hpp>
#include <glm/ext/vector_dvec2.hpp>
#include <glm/ext/vector_dvec3.hpp>
#include <glm/ext/vector_dvec4.hpp>
#include <glm/ext/vector_double1.hpp>
#include <glm/ext/vector_double1_precision.hpp>
#include <glm/ext/vector_double2.hpp>
#include <glm/ext/vector_double3.hpp>
#include <glm/ext/vector_double4.hpp>
template <typename genType>
static int test_operators()

View File

@@ -1,8 +1,8 @@
#include <glm/ext/vector_ivec1.hpp>
#include <glm/ext/vector_ivec1_precision.hpp>
#include <glm/ext/vector_ivec2.hpp>
#include <glm/ext/vector_ivec3.hpp>
#include <glm/ext/vector_ivec4.hpp>
#include <glm/ext/vector_int1.hpp>
#include <glm/ext/vector_int1_precision.hpp>
#include <glm/ext/vector_int2.hpp>
#include <glm/ext/vector_int3.hpp>
#include <glm/ext/vector_int4.hpp>
#include <glm/vector_relational.hpp>
template <typename genType>

View File

@@ -1,8 +1,8 @@
#include <glm/ext/vector_uvec1.hpp>
#include <glm/ext/vector_uvec1_precision.hpp>
#include <glm/ext/vector_uvec2.hpp>
#include <glm/ext/vector_uvec3.hpp>
#include <glm/ext/vector_uvec4.hpp>
#include <glm/ext/vector_uint1.hpp>
#include <glm/ext/vector_uint1_precision.hpp>
#include <glm/ext/vector_uint2.hpp>
#include <glm/ext/vector_uint3.hpp>
#include <glm/ext/vector_uint4.hpp>
#include <glm/ext/vector_relational.hpp>
template <typename genType>

View File

@@ -1,10 +1,10 @@
#include <glm/gtc/constants.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vector_vec1.hpp>
#include <glm/ext/vector_vec1_precision.hpp>
#include <glm/ext/vector_vec2.hpp>
#include <glm/ext/vector_vec3.hpp>
#include <glm/ext/vector_vec4.hpp>
#include <glm/ext/vector_float1.hpp>
#include <glm/ext/vector_float1_precision.hpp>
#include <glm/ext/vector_float2.hpp>
#include <glm/ext/vector_float3.hpp>
#include <glm/ext/vector_float4.hpp>
template <typename genType>
static int test_operators()

View File

@@ -1,5 +1,5 @@
#include <glm/gtx/functions.hpp>
#include <glm/ext/vector_vec2.hpp>
#include <glm/ext/vector_float2.hpp>
#include <vector>
int test_gauss_1d()