Removed type_vec files, deleting unnecessary dependences

This commit is contained in:
Christophe Riccio 2018-08-01 18:41:10 +02:00
parent e1d21258e7
commit 8a79414fb8
23 changed files with 56 additions and 26 deletions

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
#include "type_mat.hpp"
#include <limits>

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
#include "type_vec3.hpp"
#include "type_mat.hpp"

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
#include "type_vec4.hpp"
#include "type_mat.hpp"

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
#include "type_vec3.hpp"
#include "type_mat.hpp"

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec3.hpp"
#include "type_mat.hpp"
#include <limits>

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec3.hpp"
#include "type_vec4.hpp"
#include "type_mat.hpp"

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
#include "type_vec4.hpp"
#include "type_mat.hpp"

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec3.hpp"
#include "type_vec4.hpp"
#include "type_mat.hpp"

View File

@ -3,7 +3,6 @@
#pragma once
#include "../fwd.hpp"
#include "type_vec4.hpp"
#include "type_mat.hpp"
#include <limits>

View File

@ -1,7 +0,0 @@
/// @ref core
/// @file glm/detail/type_vec.hpp
#pragma once
#include "qualifier.hpp"
#include "compute_vector_relational.hpp"

View File

@ -1,2 +0,0 @@
/// @ref core
/// @file glm/detail/type_vec.inl

View File

@ -3,7 +3,7 @@
#pragma once
#include "type_vec.hpp"
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION

View File

@ -3,7 +3,7 @@
#pragma once
#include "type_vec.hpp"
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION

View File

@ -3,7 +3,7 @@
#pragma once
#include "type_vec.hpp"
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION

View File

@ -1,5 +1,7 @@
/// @ref core
#include "compute_vector_relational.hpp"
namespace glm
{
// -- Implicit basic constructors --

View File

@ -3,7 +3,7 @@
#pragma once
#include "type_vec.hpp"
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION

View File

@ -1,5 +1,7 @@
/// @ref core
#include "compute_vector_relational.hpp"
namespace glm{
namespace detail
{

View File

@ -4,7 +4,6 @@
// Dependency:
#include "../vector_relational.hpp"
#include "../common.hpp"
#include "../detail/type_vec.hpp"
namespace glm
{

View File

@ -4,7 +4,7 @@
// Dependency:
#include "../vector_relational.hpp"
#include "../common.hpp"
#include "../detail/type_vec.hpp"
#include "../detail/qualifier.hpp"
namespace glm
{

View File

@ -7,7 +7,6 @@
#include "detail/type_int.hpp"
#include "detail/type_float.hpp"
#include "detail/type_vec.hpp"
#include "detail/type_mat.hpp"
//////////////////////

View File

@ -5,7 +5,6 @@
#include "quaternion.hpp"
#include "../vector_relational.hpp"
#include "../common.hpp"
#include "../detail/type_vec.hpp"
namespace glm
{

View File

@ -436,6 +436,52 @@ namespace glm
template<typename T, qualifier Q>
GLM_FUNC_DECL vec<4, bool, Q> isinf(tquat<T, Q> const& x);
/// Quaternion of low single-qualifier floating-point numbers.
///
/// @see gtc_quaternion
typedef tquat<float, lowp> lowp_quat;
/// Quaternion of medium single-qualifier floating-point numbers.
///
/// @see gtc_quaternion
typedef tquat<float, mediump> mediump_quat;
/// Quaternion of high single-qualifier floating-point numbers.
///
/// @see gtc_quaternion
typedef tquat<float, highp> highp_quat;
#if(defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
typedef highp_quat quat;
#elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
typedef mediump_quat quat;
#elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && defined(GLM_PRECISION_LOWP_FLOAT))
typedef lowp_quat quat;
#elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
/// Quaternion of default single-qualifier floating-point numbers.
typedef highp_quat quat;
#endif
/// Quaternion of low single-qualifier floating-point numbers.
///
/// @see gtc_quaternion
typedef lowp_quat lowp_fquat;
/// Quaternion of medium single-qualifier floating-point numbers.
///
/// @see gtc_quaternion
typedef mediump_quat mediump_fquat;
/// Quaternion of high single-qualifier floating-point numbers.
///
/// @see gtc_quaternion
typedef highp_quat highp_fquat;
/// Quaternion of default single-qualifier floating-point numbers.
///
/// @see gtc_quaternion
typedef quat fquat;
/// @}
} //namespace glm

View File

@ -1,5 +1,6 @@
#include <glm/gtc/epsilon.hpp>
#include <glm/gtc/constants.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/vector_relational.hpp>
int test_defined()