Use pragma once

This commit is contained in:
Christophe Riccio 2014-07-14 01:48:27 +02:00
parent 7659e901c9
commit cff845c2b4
138 changed files with 191 additions and 595 deletions

View File

@ -26,9 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_COMMON_INCLUDED
#define GLM_COMMON_INCLUDED
#pragma once
#include "detail/func_common.hpp"
#endif//GLM_COMMON_INCLUDED

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_features
#define glm_core_features
#pragma once
// #define GLM_CXX98_EXCEPTIONS
// #define GLM_CXX98_RTTI
@ -423,5 +422,3 @@
# endif
#endif//(GLM_COMPILER & GLM_COMPILER_CLANG)
#endif//glm_core_features

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_literals
#define glm_core_literals
#pragma once
namespace glm
{
@ -47,5 +46,3 @@ namespace glm
#endif//GLM_CXX11_USER_LITERALS
}//namespace glm
#endif//glm_core_literals

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_DETAIL_NOISE_INCLUDED
#define GLM_DETAIL_NOISE_INCLUDED
#pragma once
namespace glm{
namespace detail
@ -126,5 +125,3 @@ namespace detail
}//namespace detail
}//namespace glm
#endif//GLM_DETAIL_NOISE_INCLUDED

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_swizzle
#define glm_core_swizzle
#pragma once
namespace glm{
namespace detail
@ -836,5 +835,3 @@ namespace glm
struct { _swizzle<4, T, P, V<T, P>, 3,3,3,1> E3 ## E3 ## E3 ## E1; }; \
struct { _swizzle<4, T, P, V<T, P>, 3,3,3,2> E3 ## E3 ## E3 ## E2; }; \
struct { _swizzle<4, T, P, V<T, P>, 3,3,3,3> E3 ## E3 ## E3 ## E3; };
#endif//glm_core_swizzle

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_swizzle_func
#define glm_core_swizzle_func
#pragma once
#define GLM_SWIZZLE_GEN_VEC2_ENTRY(TMPL_TYPE, PRECISION, CLASS_TYPE, SWIZZLED_TYPE, CONST, A, B) \
SWIZZLED_TYPE<TMPL_TYPE, PRECISION> A ## B() CONST \
@ -720,5 +719,3 @@
GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(TMPL_TYPE, PRECISION, CLASS_TYPE, SWIZZLED_VEC2_TYPE, SWIZZLED_VEC3_TYPE, SWIZZLED_VEC4_TYPE, s, t, p, q)
//GLM_SWIZZLE_GEN_VEC_FROM_VEC4(valType, detail::vec4, detail::vec2, detail::vec3, detail::vec4)
#endif//glm_core_swizzle_func

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_DETAIL_INCLUDED
#define GLM_CORE_DETAIL_INCLUDED
#pragma once
#include "type_vec1.hpp"
#include "type_vec2.hpp"
@ -213,5 +212,3 @@ namespace detail
};
}//namespace detail
}//namespace glm
#endif//GLM_CORE_DETAIL_INCLUDED

View File

@ -42,6 +42,7 @@ struct material
glm::vec4 specular; // Scm
float shininess; // Srm
};
struct light
{
glm::vec4 ambient; // Acli
@ -60,6 +61,7 @@ struct light
float quadraticAttenuation;// K2
};
// Sample 1
#include <glm/vec3.hpp>// glm::vec3
#include <glm/geometric.hpp>// glm::cross, glm::normalize

View File

@ -33,8 +33,7 @@
/// These all operate component-wise. The description is per component.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_FUNC_COMMON_INCLUDED
#define GLM_FUNC_COMMON_INCLUDED
#pragma once
#include "setup.hpp"
#include "precision.hpp"
@ -469,4 +468,3 @@ namespace glm
#include "func_common.inl"
#endif//GLM_FUNC_COMMON_INCLUDED

View File

@ -33,8 +33,7 @@
/// These all operate component-wise. The description is per component.
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_func_exponential
#define glm_core_func_exponential
#pragma once
#include "type_vec1.hpp"
#include "type_vec2.hpp"
@ -128,5 +127,3 @@ namespace glm
}//namespace glm
#include "func_exponential.inl"
#endif//glm_core_func_exponential

View File

@ -33,8 +33,7 @@
/// These operate on vectors as vectors, not component-wise.
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_func_geometric
#define glm_core_func_geometric
#pragma once
#include "type_vec3.hpp"
@ -147,5 +146,3 @@ namespace glm
}//namespace glm
#include "func_geometric.inl"
#endif//glm_core_func_geometric

View File

@ -35,8 +35,7 @@
/// b, inclusive. The lowest-order bit is bit 0.
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_func_integer
#define glm_core_func_integer
#pragma once
#include "setup.hpp"
@ -198,6 +197,3 @@ namespace glm
}//namespace glm
#include "func_integer.inl"
#endif//glm_core_func_integer

View File

@ -37,8 +37,7 @@
/// floating point version is shown.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_func_matrix
#define GLM_CORE_func_matrix
#pragma once
// Dependencies
#include "../detail/precision.hpp"
@ -175,5 +174,3 @@ namespace detail
}//namespace glm
#include "func_matrix.inl"
#endif//GLM_CORE_func_matrix

View File

@ -35,8 +35,7 @@
/// appearance of randomness, but are not truly random.
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_func_noise
#define glm_core_func_noise
#pragma once
#include "type_vec1.hpp"
#include "type_vec2.hpp"
@ -88,5 +87,3 @@ namespace glm
}//namespace glm
#include "func_noise.inl"
#endif//glm_core_func_noise

View File

@ -33,8 +33,7 @@
/// These functions do not operate component-wise, rather as described in each case.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_func_packing
#define GLM_CORE_func_packing
#pragma once
#include "type_vec2.hpp"
#include "type_vec4.hpp"
@ -191,5 +190,3 @@ namespace glm
}//namespace glm
#include "func_packing.inl"
#endif//GLM_CORE_func_packing

View File

@ -37,8 +37,7 @@
/// These all operate component-wise. The description is per component.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_func_trigonometric
#define GLM_CORE_func_trigonometric
#pragma once
namespace glm
{
@ -197,7 +196,3 @@ namespace glm
}//namespace glm
#include "func_trigonometric.inl"
#endif//GLM_CORE_func_trigonometric

View File

@ -38,8 +38,7 @@
/// call must match.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_func_vector_relational
#define GLM_CORE_func_vector_relational
#pragma once
#include "precision.hpp"
#include "setup.hpp"
@ -141,5 +140,3 @@ namespace glm
#endif
#include "func_vector_relational.inl"
#endif//GLM_CORE_func_vector_relational

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type
#define glm_core_type
#pragma once
namespace glm
{
@ -36,5 +35,3 @@ namespace glm
class nicest {};
class fastest {};
}//namespace glm
#endif//glm_core_type

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_detail_intrinsic_common
#define glm_detail_intrinsic_common
#pragma once
#include "setup.hpp"
@ -86,4 +85,3 @@ namespace detail
#include "intrinsic_common.inl"
#endif//GLM_ARCH
#endif//glm_detail_intrinsic_common

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_detail_intrinsic_exponential
#define glm_detail_intrinsic_exponential
#pragma once
#include "setup.hpp"
@ -76,4 +75,3 @@ GLM_FUNC_QUALIFIER __m128 sse_normalize_fast_ps( float * RESTRICT vOut, float *
}//namespace glm
#endif//GLM_ARCH
#endif//glm_detail_intrinsic_exponential

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_intrinsic_geometric
#define glm_core_intrinsic_geometric
#pragma once
#include "setup.hpp"
@ -73,4 +72,3 @@ namespace detail
#include "intrinsic_geometric.inl"
#endif//GLM_ARCH
#endif//glm_core_intrinsic_geometric

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_detail_intrinsic_integer
#define glm_detail_intrinsic_integer
#pragma once
#include "glm/glm.hpp"
@ -47,4 +46,3 @@ namespace detail
#include "intrinsic_integer.inl"
#endif//GLM_ARCH
#endif//glm_detail_intrinsic_integer

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_detail_intrinsic_matrix
#define glm_detail_intrinsic_matrix
#pragma once
#include "setup.hpp"
@ -66,4 +65,3 @@ namespace detail
#include "intrinsic_matrix.inl"
#endif//GLM_ARCH
#endif//glm_detail_intrinsic_matrix

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_detail_intrinsic_trigonometric
#define glm_detail_intrinsic_trigonometric
#pragma once
#include "setup.hpp"
@ -45,4 +44,3 @@ namespace detail
#include "intrinsic_trigonometric.inl"
#endif//GLM_ARCH
#endif//glm_detail_intrinsic_trigonometric

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_detail_intrinsic_vector_relational
#define glm_detail_intrinsic_vector_relational
#pragma once
#include "setup.hpp"
@ -45,4 +44,3 @@ namespace detail
#include "intrinsic_vector_relational.inl"
#endif//GLM_ARCH
#endif//glm_detail_intrinsic_vector_relational

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_PRECISION_INCLUDED
#define GLM_CORE_PRECISION_INCLUDED
#pragma once
namespace glm
{
@ -39,5 +38,3 @@ namespace glm
defaultp = highp
};
}//namespace glm
#endif//GLM_CORE_PRECISION_INCLUDED

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_SETUP_INCLUDED
#define GLM_SETUP_INCLUDED
#pragma once
#include <cassert>
@ -801,5 +800,3 @@ namespace glm
#else
# define GLM_CONSTEXPR
#endif
#endif//GLM_SETUP_INCLUDED

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_float
#define glm_core_type_float
#pragma once
#include "setup.hpp"
@ -91,5 +90,3 @@ namespace detail
/// @}
}//namespace glm
#endif//glm_core_type_float

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_gentype
#define glm_core_type_gentype
#pragma once
namespace glm
{
@ -219,5 +218,3 @@ namespace detail
}//namespace glm
//#include "type_gentype.inl"
#endif//glm_core_type_gentype

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_half
#define glm_core_type_half
#pragma once
#include "setup.hpp"
@ -47,5 +46,3 @@ namespace detail
}//namespace glm
#include "type_half.inl"
#endif//glm_core_type_half

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_int
#define glm_core_type_int
#pragma once
#include "setup.hpp"
@ -187,5 +186,3 @@ namespace detail
#endif//GLM_STATIC_ASSERT_NULL
}//namespace glm
#endif//glm_core_type_int

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat
#define glm_core_type_mat
#pragma once
#include "precision.hpp"
@ -791,5 +790,3 @@ namespace detail
/// @}
}//namespace glm
#endif//glm_core_type_mat

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat2x2
#define glm_core_type_mat2x2
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
@ -259,5 +258,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat2x2.inl"
#endif
#endif //glm_core_type_mat2x2

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat2x3
#define glm_core_type_mat2x3
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
@ -223,5 +222,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat2x3.inl"
#endif
#endif //glm_core_type_mat2x3

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat2x4
#define glm_core_type_mat2x4
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
@ -225,5 +224,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat2x4.inl"
#endif
#endif //glm_core_type_mat2x4

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat3x2
#define glm_core_type_mat3x2
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
@ -229,5 +228,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat3x2.inl"
#endif
#endif //glm_core_type_mat3x2

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat3x3
#define glm_core_type_mat3x3
#pragma once
#include "../fwd.hpp"
#include "type_vec3.hpp"
@ -263,5 +262,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat3x3.inl"
#endif
#endif //glm_core_type_mat3x3

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat3x4
#define glm_core_type_mat3x4
#pragma once
#include "../fwd.hpp"
#include "type_vec3.hpp"
@ -229,5 +228,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat3x4.inl"
#endif
#endif //glm_core_type_mat3x4

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat4x2
#define glm_core_type_mat4x2
#pragma once
#include "../fwd.hpp"
#include "type_vec2.hpp"
@ -236,5 +235,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat4x2.inl"
#endif
#endif //glm_core_type_mat4x2

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat4x3
#define glm_core_type_mat4x3
#pragma once
#include "../fwd.hpp"
#include "type_vec3.hpp"
@ -236,5 +235,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat4x3.inl"
#endif //GLM_EXTERNAL_TEMPLATE
#endif//glm_core_type_mat4x3

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_mat4x4
#define glm_core_type_mat4x4
#pragma once
#include "../fwd.hpp"
#include "type_vec4.hpp"
@ -264,5 +263,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_mat4x4.inl"
#endif//GLM_EXTERNAL_TEMPLATE
#endif//glm_core_type_mat4x4

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_vec
#define glm_core_type_vec
#pragma once
#include "precision.hpp"
#include "type_int.hpp"
@ -512,5 +511,3 @@ namespace detail
/// @}
}//namespace glm
#endif//glm_core_type_vec

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_gentype1
#define glm_core_type_gentype1
#pragma once
#include "../fwd.hpp"
#include "type_vec.hpp"
@ -273,5 +272,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_vec1.inl"
#endif//GLM_EXTERNAL_TEMPLATE
#endif//glm_core_type_gentype1

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_gentype2
#define glm_core_type_gentype2
#pragma once
//#include "../fwd.hpp"
#include "type_vec.hpp"
@ -311,5 +310,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_vec2.inl"
#endif//GLM_EXTERNAL_TEMPLATE
#endif//glm_core_type_gentype2

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_gentype3
#define glm_core_type_gentype3
#pragma once
//#include "../fwd.hpp"
#include "type_vec.hpp"
@ -329,5 +328,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_vec3.inl"
#endif//GLM_EXTERNAL_TEMPLATE
#endif//glm_core_type_gentype3

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_gentype4
#define glm_core_type_gentype4
#pragma once
//#include "../fwd.hpp"
#include "setup.hpp"
@ -418,5 +417,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_vec4.inl"
#endif//GLM_EXTERNAL_TEMPLATE
#endif//glm_core_type_gentype4

View File

@ -26,9 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_EXPONENTIAL_INCLUDED
#define GLM_EXPONENTIAL_INCLUDED
#pragma once
#include "detail/func_exponential.hpp"
#endif//GLM_EXPONENTIAL_INCLUDED

View File

@ -55,8 +55,7 @@
/// (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&User=22660).
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_EXT_INCLUDED
#define GLM_EXT_INCLUDED
#pragma once
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED))
# define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
@ -133,5 +132,3 @@
# include "./gtx/simd_vec4.hpp"
# include "./gtx/simd_mat4.hpp"
#endif
#endif //GLM_EXT_INCLUDED

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_FWD_INCLUDED
#define GLM_FWD_INCLUDED
#pragma once
#include "detail/type_int.hpp"
#include "detail/type_float.hpp"
@ -2594,5 +2593,3 @@ namespace glm
typedef highp_f64quat f64quat;
#endif
}//namespace glm
#endif//GLM_FWD_INCLUDED

View File

@ -26,9 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GEOMETRIC_INCLUDED
#define GLM_GEOMETRIC_INCLUDED
#pragma once
#include "detail/func_geometric.hpp"
#endif//GLM_GEOMETRIC_INCLUDED

View File

@ -77,8 +77,7 @@
#include "detail/_fixes.hpp"
#ifndef GLM_INCLUDED
#define GLM_INCLUDED
#pragma once
#include <cmath>
#include <climits>
@ -113,5 +112,3 @@
#include "matrix.hpp"
#include "vector_relational.hpp"
#include "integer.hpp"
#endif//GLM_INCLUDED

View File

@ -36,8 +36,7 @@
/// <glm/gtc/constants.hpp> need to be included to use these features.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_constants
#define GLM_GTC_constants
#pragma once
// Dependencies
#include "../detail/setup.hpp"
@ -181,5 +180,3 @@ namespace glm
} //namespace glm
#include "constants.inl"
#endif//GLM_GTC_constants

View File

@ -37,8 +37,7 @@
/// <glm/gtc/epsilon.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_epsilon
#define GLM_GTC_epsilon
#pragma once
// Dependencies
#include "../detail/setup.hpp"
@ -97,5 +96,3 @@ namespace glm
}//namespace glm
#include "epsilon.inl"
#endif//GLM_GTC_epsilon

View File

@ -34,8 +34,7 @@
/// <glm/gtc/matrix_access.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_access
#define GLM_GTC_matrix_access
#pragma once
// Dependency:
#include "../detail/setup.hpp"
@ -83,5 +82,3 @@ namespace glm
}//namespace glm
#include "matrix_access.inl"
#endif//GLM_GTC_matrix_access

View File

@ -34,8 +34,7 @@
/// <glm/gtc/matrix_integer.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_integer
#define GLM_GTC_matrix_integer
#pragma once
// Dependency:
#include "../mat2x2.hpp"
@ -510,5 +509,3 @@ namespace glm
/// @}
}//namespace glm
#endif//GLM_GTC_matrix_integer

View File

@ -34,8 +34,7 @@
/// <glm/gtc/matrix_inverse.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_inverse
#define GLM_GTC_matrix_inverse
#pragma once
// Dependencies
#include "../detail/setup.hpp"
@ -70,5 +69,3 @@ namespace glm
}//namespace glm
#include "matrix_inverse.inl"
#endif//GLM_GTC_matrix_inverse

View File

@ -43,8 +43,7 @@
/// <glm/gtc/matrix_transform.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_transform
#define GLM_GTC_matrix_transform
#pragma once
// Dependency:
#include "../mat4x4.hpp"
@ -302,5 +301,3 @@ namespace glm
}//namespace glm
#include "matrix_transform.inl"
#endif//GLM_GTC_matrix_transform

View File

@ -38,8 +38,7 @@
/// <glm/gtc/noise.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_noise
#define GLM_GTC_noise
#pragma once
// Dependencies
#include "../detail/setup.hpp"
@ -77,5 +76,3 @@ namespace glm
}//namespace glm
#include "noise.inl"
#endif//GLM_GTC_noise

View File

@ -36,8 +36,7 @@
/// <glm/gtc/packing.hpp> need to be included to use these features.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_packing
#define GLM_GTC_packing
#pragma once
// Dependency:
#include "type_precision.hpp"
@ -473,6 +472,3 @@ namespace glm
}// namespace glm
#include "packing.inl"
#endif//GLM_GTC_packing

View File

@ -37,8 +37,7 @@
/// <glm/gtc/quaternion.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_quaternion
#define GLM_GTC_quaternion
#pragma once
// Dependency:
#include "../mat3x3.hpp"
@ -400,5 +399,3 @@ namespace detail
} //namespace glm
#include "quaternion.inl"
#endif//GLM_GTC_quaternion

View File

@ -37,8 +37,7 @@
/// <glm/gtc/random.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_random
#define GLM_GTC_random
#pragma once
// Dependency:
#include "../vec2.hpp"
@ -110,5 +109,3 @@ namespace glm
}//namespace glm
#include "random.inl"
#endif//GLM_GTC_random

View File

@ -35,8 +35,7 @@
/// <glm/gtc/reciprocal.hpp> need to be included to use these features.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_reciprocal
#define GLM_GTC_reciprocal
#pragma once
// Dependencies
#include "../detail/setup.hpp"
@ -129,5 +128,3 @@ namespace glm
}//namespace glm
#include "reciprocal.inl"
#endif//GLM_GTC_reciprocal

View File

@ -40,8 +40,7 @@
/// <glm/gtc/type_precision.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_type_precision
#define GLM_GTC_type_precision
#pragma once
// Dependency:
#include "../gtc/quaternion.hpp"
@ -870,5 +869,3 @@ namespace glm
}//namespace glm
#include "type_precision.inl"
#endif//GLM_GTC_type_precision

View File

@ -56,8 +56,7 @@
/// <glm/gtc/type_ptr.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_type_ptr
#define GLM_GTC_type_ptr
#pragma once
// Dependency:
#include "../gtc/quaternion.hpp"
@ -174,6 +173,3 @@ namespace glm
}//namespace glm
#include "type_ptr.inl"
#endif//GLM_GTC_type_ptr

View File

@ -36,8 +36,7 @@
/// <glm/gtc/ulp.hpp> need to be included to use these features.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_ulp
#define GLM_GTC_ulp
#pragma once
// Dependencies
#include "../detail/setup.hpp"
@ -87,6 +86,3 @@ namespace glm
}// namespace glm
#include "ulp.inl"
#endif//GLM_GTC_ulp

View File

@ -35,8 +35,7 @@
/// <glm/gtx/associated_min_max.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_associated_min_max
#define GLM_GTX_associated_min_max
#pragma once
// Dependency:
#include "../glm.hpp"
@ -102,5 +101,3 @@ namespace glm
} //namespace glm
#include "associated_min_max.inl"
#endif//GLM_GTX_associated_min_max

View File

@ -36,8 +36,7 @@
/// <glm/gtx/bit.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_bit
#define GLM_GTX_bit
#pragma once
// Dependencies
#include "../detail/type_int.hpp"
@ -230,5 +229,3 @@ namespace glm
} //namespace glm
#include "bit.inl"
#endif//GLM_GTX_bit

View File

@ -35,8 +35,7 @@
/// <glm/gtx/closest_point.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_closest_point
#define GLM_GTX_closest_point
#pragma once
// Dependency:
#include "../glm.hpp"
@ -62,5 +61,3 @@ namespace glm
}// namespace glm
#include "closest_point.inl"
#endif//GLM_GTX_closest_point

View File

@ -35,8 +35,7 @@
/// <glm/gtx/color_space.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_color_space
#define GLM_GTX_color_space
#pragma once
// Dependency:
#include "../glm.hpp"
@ -92,5 +91,3 @@ namespace glm
}//namespace glm
#include "color_space.inl"
#endif//GLM_GTX_color_space

View File

@ -35,8 +35,7 @@
/// <glm/gtx/color_space_YCoCg.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_gtx_color_space_YCoCg
#define glm_gtx_color_space_YCoCg
#pragma once
// Dependency:
#include "../glm.hpp"
@ -80,5 +79,3 @@ namespace glm
}//namespace glm
#include "color_space_YCoCg.inl"
#endif//glm_gtx_color_space_YCoCg

View File

@ -36,8 +36,7 @@
/// <glm/gtx/compatibility.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_compatibility
#define GLM_GTX_compatibility
#pragma once
// Dependency:
#include "../glm.hpp"
@ -155,6 +154,3 @@ namespace glm
}//namespace glm
#include "compatibility.inl"
#endif//GLM_GTX_compatibility

View File

@ -35,8 +35,7 @@
/// <glm/gtx/component_wise.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_component_wise
#define GLM_GTX_component_wise
#pragma once
// Dependencies
#include "../detail/setup.hpp"
@ -78,5 +77,3 @@ namespace glm
}//namespace glm
#include "component_wise.inl"
#endif//GLM_GTX_component_wise

View File

@ -38,8 +38,7 @@
/// <glm/gtx/dual_quaternion.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_dual_quaternion
#define GLM_GTX_dual_quaternion
#pragma once
// Dependency:
#include "../glm.hpp"
@ -291,5 +290,3 @@ namespace detail
} //namespace glm
#include "dual_quaternion.inl"
#endif//GLM_GTX_dual_quaternion

View File

@ -36,8 +36,7 @@
/// <glm/gtx/euler_angles.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_euler_angles
#define GLM_GTX_euler_angles
#pragma once
// Dependency:
#include "../glm.hpp"
@ -151,5 +150,3 @@ namespace glm
}//namespace glm
#include "euler_angles.inl"
#endif//GLM_GTX_euler_angles

View File

@ -35,8 +35,7 @@
/// <glm/gtx/extend.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_extend
#define GLM_GTX_extend
#pragma once
// Dependency:
#include "../glm.hpp"
@ -62,5 +61,3 @@ namespace glm
}//namespace glm
#include "extend.inl"
#endif//GLM_GTX_extend

View File

@ -36,8 +36,7 @@
/// <glm/gtx/extented_min_max.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_extented_min_max
#define GLM_GTX_extented_min_max
#pragma once
// Dependency:
#include "../glm.hpp"
@ -157,5 +156,3 @@ namespace glm
}//namespace glm
#include "extented_min_max.inl"
#endif//GLM_GTX_extented_min_max

View File

@ -36,8 +36,7 @@
/// <glm/gtx/fast_exponential.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_fast_exponential
#define GLM_GTX_fast_exponential
#pragma once
// Dependency:
#include "../glm.hpp"
@ -94,5 +93,3 @@ namespace glm
}//namespace glm
#include "fast_exponential.inl"
#endif//GLM_GTX_fast_exponential

View File

@ -37,8 +37,7 @@
/// <glm/gtx/fast_square_root.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_fast_square_root
#define GLM_GTX_fast_square_root
#pragma once
// Dependency:
#include "../glm.hpp"
@ -86,5 +85,3 @@ namespace glm
}// namespace glm
#include "fast_square_root.inl"
#endif//GLM_GTX_fast_square_root

View File

@ -35,8 +35,7 @@
/// <glm/gtx/fast_trigonometry.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_fast_trigonometry
#define GLM_GTX_fast_trigonometry
#pragma once
// Dependency:
#include "../glm.hpp"
@ -96,5 +95,3 @@ namespace glm
}//namespace glm
#include "fast_trigonometry.inl"
#endif//GLM_GTX_fast_trigonometry

View File

@ -35,8 +35,7 @@
/// <glm/gtx/gradient_paint.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_gradient_paint
#define GLM_GTX_gradient_paint
#pragma once
// Dependency:
#include "../glm.hpp"
@ -72,5 +71,3 @@ namespace glm
}// namespace glm
#include "gradient_paint.inl"
#endif//GLM_GTX_gradient_paint

View File

@ -35,8 +35,7 @@
/// <glm/gtx/handed_coordinate_system.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_handed_coordinate_space
#define GLM_GTX_handed_coordinate_space
#pragma once
// Dependency:
#include "../glm.hpp"
@ -70,5 +69,3 @@ namespace glm
}// namespace glm
#include "handed_coordinate_space.inl"
#endif//GLM_GTX_handed_coordinate_space

View File

@ -36,8 +36,7 @@
/// <glm/gtx/inertia.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_inertia
#define GLM_GTX_inertia
#pragma once
// Dependency:
#include "../glm.hpp"
@ -112,5 +111,3 @@ namespace glm
}// namespace glm
#include "inertia.inl"
#endif//GLM_GTX_inertia

View File

@ -35,8 +35,7 @@
/// <glm/gtx/integer.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_integer
#define GLM_GTX_integer
#pragma once
// Dependency:
#include "../glm.hpp"
@ -100,5 +99,3 @@ namespace glm
}//namespace glm
#include "integer.inl"
#endif//GLM_GTX_integer

View File

@ -36,8 +36,7 @@
/// <glm/gtx/intersect.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_intersect
#define GLM_GTX_intersect
#pragma once
// Dependency:
#include "../glm.hpp"
@ -107,5 +106,3 @@ namespace glm
}//namespace glm
#include "intersect.inl"
#endif//GLM_GTX_intersect

View File

@ -40,8 +40,7 @@
/// <glm/gtx/io.hpp> needs to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_io
#define GLM_GTX_io GLM_VERSION
#pragma once
// Dependency:
#include "../glm.hpp"
@ -222,5 +221,3 @@ namespace glm
}//namespace glm
#include "io.inl"
#endif//GLM_GTX_io

View File

@ -35,8 +35,7 @@
/// <glm/gtx/log_base.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_log_base
#define GLM_GTX_log_base
#pragma once
// Dependency:
#include "../glm.hpp"
@ -61,5 +60,3 @@ namespace glm
}//namespace glm
#include "log_base.inl"
#endif//GLM_GTX_log_base

View File

@ -36,8 +36,7 @@
/// <glm/gtx/matrix_cross_product.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_cross_product
#define GLM_GTX_matrix_cross_product
#pragma once
// Dependency:
#include "../glm.hpp"
@ -67,5 +66,3 @@ namespace glm
}//namespace glm
#include "matrix_cross_product.inl"
#endif//GLM_GTX_matrix_cross_product

View File

@ -35,8 +35,7 @@
/// <glm/gtx/matrix_interpolation.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_interpolation
#define GLM_GTX_matrix_interpolation
#pragma once
// Dependency:
#include "../glm.hpp"
@ -84,5 +83,3 @@ namespace glm
}//namespace glm
#include "matrix_interpolation.inl"
#endif//GLM_GTX_matrix_interpolation

View File

@ -36,8 +36,7 @@
/// <glm/gtx/matrix_major_storage.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_major_storage
#define GLM_GTX_matrix_major_storage
#pragma once
// Dependency:
#include "../glm.hpp"
@ -139,5 +138,3 @@ namespace glm
}//namespace glm
#include "matrix_major_storage.inl"
#endif//GLM_GTX_matrix_major_storage

View File

@ -35,8 +35,7 @@
/// <glm/gtx/matrix_operation.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_operation
#define GLM_GTX_matrix_operation
#pragma once
// Dependency:
#include "../glm.hpp"
@ -108,5 +107,3 @@ namespace glm
}//namespace glm
#include "matrix_operation.inl"
#endif//GLM_GTX_matrix_operation

View File

@ -36,8 +36,7 @@
/// <glm/gtx/matrix_query.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_query
#define GLM_GTX_matrix_query
#pragma once
// Dependency:
#include "../glm.hpp"
@ -97,5 +96,3 @@ namespace glm
}//namespace glm
#include "matrix_query.inl"
#endif//GLM_GTX_matrix_query

View File

@ -35,8 +35,7 @@
/// <glm/gtx/matrix_transform_2d.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_transform_2d
#define GLM_GTX_matrix_transform_2d
#pragma once
// Dependency:
#include "../mat3x3.hpp"
@ -101,5 +100,3 @@ namespace glm
}//namespace glm
#include "matrix_transform_2d.inl"
#endif//GLM_GTX_matrix_transform_2d

View File

@ -35,8 +35,7 @@
/// <glm/gtx/mixed_product.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_mixed_product
#define GLM_GTX_mixed_product
#pragma once
// Dependency:
#include "../glm.hpp"
@ -61,5 +60,3 @@ namespace glm
}// namespace glm
#include "mixed_product.inl"
#endif//GLM_GTX_mixed_product

View File

@ -36,8 +36,7 @@
/// <glm/gtx/multiple.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_multiple
#define GLM_GTX_multiple
#pragma once
// Dependency:
#include "../glm.hpp"
@ -79,5 +78,3 @@ namespace glm
}//namespace glm
#include "multiple.inl"
#endif//GLM_GTX_multiple

View File

@ -36,8 +36,7 @@
/// <glm/gtx/norm.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_norm
#define GLM_GTX_norm
#pragma once
// Dependency:
#include "../glm.hpp"
@ -123,5 +122,3 @@ namespace glm
}//namespace glm
#include "norm.inl"
#endif//GLM_GTX_norm

View File

@ -36,8 +36,7 @@
/// <glm/gtx/normal.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_normal
#define GLM_GTX_normal
#pragma once
// Dependency:
#include "../glm.hpp"
@ -63,5 +62,3 @@ namespace glm
}//namespace glm
#include "normal.inl"
#endif//GLM_GTX_normal

View File

@ -36,8 +36,7 @@
/// <glm/gtx/normalized_dot.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_normalize_dot
#define GLM_GTX_normalize_dot
#pragma once
// Dependency:
#include "../glm.hpp"
@ -72,5 +71,3 @@ namespace glm
}//namespace glm
#include "normalize_dot.inl"
#endif//GLM_GTX_normalize_dot

View File

@ -37,8 +37,7 @@
/// <glm/gtx/number_precision.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_number_precision
#define GLM_GTX_number_precision
#pragma once
// Dependency:
#include "../glm.hpp"
@ -81,5 +80,3 @@ namespace gtx
}//namespace glm
#include "number_precision.inl"
#endif//GLM_GTX_number_precision

View File

@ -35,8 +35,7 @@
/// <glm/gtx/optimum_pow.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_optimum_pow
#define GLM_GTX_optimum_pow
#pragma once
// Dependency:
#include "../glm.hpp"
@ -90,5 +89,3 @@ namespace gtx
}//namespace glm
#include "optimum_pow.inl"
#endif//GLM_GTX_optimum_pow

View File

@ -36,8 +36,7 @@
/// <glm/gtx/orthonormalize.hpp> need to be included to use these functionalities.
///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_orthonormalize
#define GLM_GTX_orthonormalize
#pragma once
// Dependency:
#include "../glm.hpp"
@ -68,5 +67,3 @@ namespace glm
}//namespace glm
#include "orthonormalize.inl"
#endif//GLM_GTX_orthonormalize

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