mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
Removed type_vec files, deleting unnecessary dependences
This commit is contained in:
parent
e1d21258e7
commit
8a79414fb8
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec2.hpp"
|
||||
#include "type_mat.hpp"
|
||||
#include <limits>
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec2.hpp"
|
||||
#include "type_vec3.hpp"
|
||||
#include "type_mat.hpp"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec2.hpp"
|
||||
#include "type_vec4.hpp"
|
||||
#include "type_mat.hpp"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec2.hpp"
|
||||
#include "type_vec3.hpp"
|
||||
#include "type_mat.hpp"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec3.hpp"
|
||||
#include "type_mat.hpp"
|
||||
#include <limits>
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec3.hpp"
|
||||
#include "type_vec4.hpp"
|
||||
#include "type_mat.hpp"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec2.hpp"
|
||||
#include "type_vec4.hpp"
|
||||
#include "type_mat.hpp"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec3.hpp"
|
||||
#include "type_vec4.hpp"
|
||||
#include "type_mat.hpp"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../fwd.hpp"
|
||||
#include "type_vec4.hpp"
|
||||
#include "type_mat.hpp"
|
||||
#include <limits>
|
||||
|
@ -1,7 +0,0 @@
|
||||
/// @ref core
|
||||
/// @file glm/detail/type_vec.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "qualifier.hpp"
|
||||
#include "compute_vector_relational.hpp"
|
@ -1,2 +0,0 @@
|
||||
/// @ref core
|
||||
/// @file glm/detail/type_vec.inl
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,7 @@
|
||||
/// @ref core
|
||||
|
||||
#include "compute_vector_relational.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
// -- Implicit basic constructors --
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,7 @@
|
||||
/// @ref core
|
||||
|
||||
#include "compute_vector_relational.hpp"
|
||||
|
||||
namespace glm{
|
||||
namespace detail
|
||||
{
|
||||
|
@ -4,7 +4,6 @@
|
||||
// Dependency:
|
||||
#include "../vector_relational.hpp"
|
||||
#include "../common.hpp"
|
||||
#include "../detail/type_vec.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Dependency:
|
||||
#include "../vector_relational.hpp"
|
||||
#include "../common.hpp"
|
||||
#include "../detail/type_vec.hpp"
|
||||
#include "../detail/qualifier.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include "detail/type_int.hpp"
|
||||
#include "detail/type_float.hpp"
|
||||
#include "detail/type_vec.hpp"
|
||||
#include "detail/type_mat.hpp"
|
||||
|
||||
//////////////////////
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include "quaternion.hpp"
|
||||
#include "../vector_relational.hpp"
|
||||
#include "../common.hpp"
|
||||
#include "../detail/type_vec.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user