Merge branch '0.9.6'

This commit is contained in:
Christophe Riccio 2014-07-18 01:16:48 +02:00
commit a957daf1a7
143 changed files with 237 additions and 633 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio /// @author Christophe Riccio
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_swizzle #pragma once
#define glm_core_swizzle
namespace glm{ namespace glm{
namespace detail 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,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,2> E3 ## E3 ## E3 ## E2; }; \
struct { _swizzle<4, T, P, V<T, P>, 3,3,3,3> E3 ## E3 ## E3 ## E3; }; 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 /// @author Christophe Riccio
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_swizzle_func #pragma once
#define glm_core_swizzle_func
#define GLM_SWIZZLE_GEN_VEC2_ENTRY(TMPL_TYPE, PRECISION, CLASS_TYPE, SWIZZLED_TYPE, CONST, A, B) \ #define GLM_SWIZZLE_GEN_VEC2_ENTRY(TMPL_TYPE, PRECISION, CLASS_TYPE, SWIZZLED_TYPE, CONST, A, B) \
SWIZZLED_TYPE<TMPL_TYPE, PRECISION> A ## B() CONST \ 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_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) //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 /// @author Christophe Riccio
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_DETAIL_INCLUDED #pragma once
#define GLM_CORE_DETAIL_INCLUDED
#include "type_vec1.hpp" #include "type_vec1.hpp"
#include "type_vec2.hpp" #include "type_vec2.hpp"
@ -213,5 +212,3 @@ namespace detail
}; };
}//namespace detail }//namespace detail
}//namespace glm }//namespace glm
#endif//GLM_CORE_DETAIL_INCLUDED

View File

@ -41,7 +41,8 @@ struct material
glm::vec4 diffuse; // Dcm glm::vec4 diffuse; // Dcm
glm::vec4 specular; // Scm glm::vec4 specular; // Scm
float shininess; // Srm float shininess; // Srm
}; };
struct light struct light
{ {
glm::vec4 ambient; // Acli glm::vec4 ambient; // Acli
@ -58,7 +59,8 @@ struct light
float constantAttenuation; // K0 float constantAttenuation; // K0
float linearAttenuation; // K1 float linearAttenuation; // K1
float quadraticAttenuation;// K2 float quadraticAttenuation;// K2
}; };
// Sample 1 // Sample 1
#include <glm/vec3.hpp>// glm::vec3 #include <glm/vec3.hpp>// glm::vec3

View File

@ -33,8 +33,7 @@
/// These all operate component-wise. The description is per component. /// These all operate component-wise. The description is per component.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_FUNC_COMMON_INCLUDED #pragma once
#define GLM_FUNC_COMMON_INCLUDED
#include "setup.hpp" #include "setup.hpp"
#include "precision.hpp" #include "precision.hpp"
@ -469,4 +468,3 @@ namespace glm
#include "func_common.inl" #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. /// These all operate component-wise. The description is per component.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_func_exponential #pragma once
#define glm_core_func_exponential
#include "type_vec1.hpp" #include "type_vec1.hpp"
#include "type_vec2.hpp" #include "type_vec2.hpp"
@ -128,5 +127,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "func_exponential.inl" #include "func_exponential.inl"
#endif//glm_core_func_exponential

View File

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

View File

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

View File

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

View File

@ -35,8 +35,7 @@
/// appearance of randomness, but are not truly random. /// appearance of randomness, but are not truly random.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_func_noise #pragma once
#define glm_core_func_noise
#include "type_vec1.hpp" #include "type_vec1.hpp"
#include "type_vec2.hpp" #include "type_vec2.hpp"
@ -88,5 +87,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "func_noise.inl" #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. /// These functions do not operate component-wise, rather as described in each case.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_func_packing #pragma once
#define GLM_CORE_func_packing
#include "type_vec2.hpp" #include "type_vec2.hpp"
#include "type_vec4.hpp" #include "type_vec4.hpp"
@ -191,5 +190,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "func_packing.inl" #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. /// These all operate component-wise. The description is per component.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_CORE_func_trigonometric #pragma once
#define GLM_CORE_func_trigonometric
namespace glm namespace glm
{ {
@ -197,7 +196,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "func_trigonometric.inl" #include "func_trigonometric.inl"
#endif//GLM_CORE_func_trigonometric

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -26,8 +26,7 @@
/// @author Christophe Riccio /// @author Christophe Riccio
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_type_gentype4 #pragma once
#define glm_core_type_gentype4
//#include "../fwd.hpp" //#include "../fwd.hpp"
#include "setup.hpp" #include "setup.hpp"
@ -245,13 +244,13 @@ namespace detail
GLM_FUNC_DECL tvec4<T, P> & operator= (tvec4<T, P> const & v); GLM_FUNC_DECL tvec4<T, P> & operator= (tvec4<T, P> const & v);
GLM_FUNC_DECL tvec4<T, P> & operator+=(T s); GLM_FUNC_DECL tvec4<T, P> & operator+=(T v);
GLM_FUNC_DECL tvec4<T, P> & operator+=(tvec4<T, P> const & v); GLM_FUNC_DECL tvec4<T, P> & operator+=(tvec4<T, P> const & v);
GLM_FUNC_DECL tvec4<T, P> & operator-=(T s); GLM_FUNC_DECL tvec4<T, P> & operator-=(T v);
GLM_FUNC_DECL tvec4<T, P> & operator-=(tvec4<T, P> const & v); GLM_FUNC_DECL tvec4<T, P> & operator-=(tvec4<T, P> const & v);
GLM_FUNC_DECL tvec4<T, P> & operator*=(T s); GLM_FUNC_DECL tvec4<T, P> & operator*=(T v);
GLM_FUNC_DECL tvec4<T, P> & operator*=(tvec4<T, P> const & v); GLM_FUNC_DECL tvec4<T, P> & operator*=(tvec4<T, P> const & v);
GLM_FUNC_DECL tvec4<T, P> & operator/=(T s); GLM_FUNC_DECL tvec4<T, P> & operator/=(T v);
GLM_FUNC_DECL tvec4<T, P> & operator/=(tvec4<T, P> const & v); GLM_FUNC_DECL tvec4<T, P> & operator/=(tvec4<T, P> const & v);
template <typename U, precision Q> template <typename U, precision Q>
@ -418,5 +417,3 @@ namespace detail
#ifndef GLM_EXTERNAL_TEMPLATE #ifndef GLM_EXTERNAL_TEMPLATE
#include "type_vec4.inl" #include "type_vec4.inl"
#endif//GLM_EXTERNAL_TEMPLATE #endif//GLM_EXTERNAL_TEMPLATE
#endif//glm_core_type_gentype4

View File

@ -295,12 +295,12 @@ namespace detail
#endif #endif
template <typename T, precision P> template <typename T, precision P>
GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator+= (T s) GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator+= (T v)
{ {
this->x += s; this->x += v;
this->y += s; this->y += v;
this->z += s; this->z += v;
this->w += s; this->w += v;
return *this; return *this;
} }
@ -331,12 +331,12 @@ namespace detail
} }
template <typename T, precision P> template <typename T, precision P>
GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator-= (T s) GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator-= (T v)
{ {
this->x -= s; this->x -= v;
this->y -= s; this->y -= v;
this->z -= s; this->z -= v;
this->w -= s; this->w -= v;
return *this; return *this;
} }
@ -351,12 +351,12 @@ namespace detail
} }
template <typename T, precision P> template <typename T, precision P>
GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator*= (T s) GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator*= (T v)
{ {
this->x *= s; this->x *= v;
this->y *= s; this->y *= v;
this->z *= s; this->z *= v;
this->w *= s; this->w *= v;
return *this; return *this;
} }
@ -371,12 +371,12 @@ namespace detail
} }
template <typename T, precision P> template <typename T, precision P>
GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator/= (T s) GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator/= (T v)
{ {
this->x /= s; this->x /= v;
this->y /= s; this->y /= v;
this->z /= s; this->z /= v;
this->w /= s; this->w /= v;
return *this; return *this;
} }
@ -390,9 +390,6 @@ namespace detail
return *this; return *this;
} }
template <typename T, precision P> template <typename T, precision P>
template <typename U, precision Q> template <typename U, precision Q>
GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator= (tvec4<U, Q> const & v) GLM_FUNC_QUALIFIER tvec4<T, P> & tvec4<T, P>::operator= (tvec4<U, Q> const & v)

View File

@ -26,9 +26,6 @@
/// @author Christophe Riccio /// @author Christophe Riccio
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_EXPONENTIAL_INCLUDED #pragma once
#define GLM_EXPONENTIAL_INCLUDED
#include "detail/func_exponential.hpp" #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). /// (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&User=22660).
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_EXT_INCLUDED #pragma once
#define GLM_EXT_INCLUDED
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED)) #if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED))
# define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED # define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
@ -133,5 +132,3 @@
# include "./gtx/simd_vec4.hpp" # include "./gtx/simd_vec4.hpp"
# include "./gtx/simd_mat4.hpp" # include "./gtx/simd_mat4.hpp"
#endif #endif
#endif //GLM_EXT_INCLUDED

View File

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

View File

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

View File

@ -77,8 +77,7 @@
#include "detail/_fixes.hpp" #include "detail/_fixes.hpp"
#ifndef GLM_INCLUDED #pragma once
#define GLM_INCLUDED
#include <cmath> #include <cmath>
#include <climits> #include <climits>
@ -113,5 +112,3 @@
#include "matrix.hpp" #include "matrix.hpp"
#include "vector_relational.hpp" #include "vector_relational.hpp"
#include "integer.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. /// <glm/gtc/constants.hpp> need to be included to use these features.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_constants #pragma once
#define GLM_GTC_constants
// Dependencies // Dependencies
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -181,5 +180,3 @@ namespace glm
} //namespace glm } //namespace glm
#include "constants.inl" #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. /// <glm/gtc/epsilon.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_epsilon #pragma once
#define GLM_GTC_epsilon
// Dependencies // Dependencies
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -97,5 +96,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "epsilon.inl" #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. /// <glm/gtc/matrix_access.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_access #pragma once
#define GLM_GTC_matrix_access
// Dependency: // Dependency:
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -83,5 +82,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_access.inl" #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. /// <glm/gtc/matrix_integer.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_integer #pragma once
#define GLM_GTC_matrix_integer
// Dependency: // Dependency:
#include "../mat2x2.hpp" #include "../mat2x2.hpp"
@ -510,5 +509,3 @@ namespace glm
/// @} /// @}
}//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. /// <glm/gtc/matrix_inverse.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_inverse #pragma once
#define GLM_GTC_matrix_inverse
// Dependencies // Dependencies
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -70,5 +69,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_inverse.inl" #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. /// <glm/gtc/matrix_transform.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_matrix_transform #pragma once
#define GLM_GTC_matrix_transform
// Dependency: // Dependency:
#include "../mat4x4.hpp" #include "../mat4x4.hpp"
@ -302,5 +301,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_transform.inl" #include "matrix_transform.inl"
#endif//GLM_GTC_matrix_transform

View File

@ -167,7 +167,7 @@ namespace glm
detail::tmat4x4<T, defaultp> Result(1); detail::tmat4x4<T, defaultp> Result(1);
Result[0][0] = static_cast<T>(2) / (right - left); Result[0][0] = static_cast<T>(2) / (right - left);
Result[1][1] = static_cast<T>(2) / (top - bottom); Result[1][1] = static_cast<T>(2) / (top - bottom);
Result[2][2] = - T(2) / (zFar - zNear); Result[2][2] = - static_cast<T>(2) / (zFar - zNear);
Result[3][0] = - (right + left) / (right - left); Result[3][0] = - (right + left) / (right - left);
Result[3][1] = - (top + bottom) / (top - bottom); Result[3][1] = - (top + bottom) / (top - bottom);
Result[3][2] = - (zFar + zNear) / (zFar - zNear); Result[3][2] = - (zFar + zNear) / (zFar - zNear);
@ -186,7 +186,7 @@ namespace glm
detail::tmat4x4<T, defaultp> Result(1); detail::tmat4x4<T, defaultp> Result(1);
Result[0][0] = static_cast<T>(2) / (right - left); Result[0][0] = static_cast<T>(2) / (right - left);
Result[1][1] = static_cast<T>(2) / (top - bottom); Result[1][1] = static_cast<T>(2) / (top - bottom);
Result[2][2] = - T(1); Result[2][2] = - static_cast<T>(1);
Result[3][0] = - (right + left) / (right - left); Result[3][0] = - (right + left) / (right - left);
Result[3][1] = - (top + bottom) / (top - bottom); Result[3][1] = - (top + bottom) / (top - bottom);
return Result; return Result;

View File

@ -38,8 +38,7 @@
/// <glm/gtc/noise.hpp> need to be included to use these functionalities. /// <glm/gtc/noise.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_noise #pragma once
#define GLM_GTC_noise
// Dependencies // Dependencies
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -77,5 +76,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "noise.inl" #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. /// <glm/gtc/packing.hpp> need to be included to use these features.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_packing #pragma once
#define GLM_GTC_packing
// Dependency: // Dependency:
#include "type_precision.hpp" #include "type_precision.hpp"
@ -473,6 +472,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "packing.inl" #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. /// <glm/gtc/quaternion.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_quaternion #pragma once
#define GLM_GTC_quaternion
// Dependency: // Dependency:
#include "../mat3x3.hpp" #include "../mat3x3.hpp"
@ -59,7 +58,7 @@ namespace detail
{ {
enum ctor{null}; enum ctor{null};
typedef T value_type; typedef T value_type;
typedef tvec4<bool, P> bool_type; typedef tvec4<bool, P> bool_type;
public: public:
@ -400,5 +399,3 @@ namespace detail
} //namespace glm } //namespace glm
#include "quaternion.inl" #include "quaternion.inl"
#endif//GLM_GTC_quaternion

View File

@ -114,9 +114,9 @@ namespace detail
detail::tvec3<T, P> const & v detail::tvec3<T, P> const & v
) )
{ {
detail::tvec3<T, P> w = cross(u, v); detail::tvec3<T, P> const LocalW(cross(u, v));
T Dot = detail::compute_dot<detail::tvec3, T, P>::call(u, v); T Dot = detail::compute_dot<detail::tvec3, T, P>::call(u, v);
detail::tquat<T, P> q(T(1) + Dot, w.x, w.y, w.z); detail::tquat<T, P> q(T(1) + Dot, LocalW.x, LocalW.y, LocalW.z);
*this = normalize(q); *this = normalize(q);
} }

View File

@ -37,8 +37,7 @@
/// <glm/gtc/random.hpp> need to be included to use these functionalities. /// <glm/gtc/random.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_random #pragma once
#define GLM_GTC_random
// Dependency: // Dependency:
#include "../vec2.hpp" #include "../vec2.hpp"
@ -110,5 +109,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "random.inl" #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. /// <glm/gtc/reciprocal.hpp> need to be included to use these features.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_reciprocal #pragma once
#define GLM_GTC_reciprocal
// Dependencies // Dependencies
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -129,5 +128,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "reciprocal.inl" #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. /// <glm/gtc/type_precision.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_type_precision #pragma once
#define GLM_GTC_type_precision
// Dependency: // Dependency:
#include "../gtc/quaternion.hpp" #include "../gtc/quaternion.hpp"
@ -870,5 +869,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "type_precision.inl" #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. /// <glm/gtc/type_ptr.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_type_ptr #pragma once
#define GLM_GTC_type_ptr
// Dependency: // Dependency:
#include "../gtc/quaternion.hpp" #include "../gtc/quaternion.hpp"
@ -174,6 +173,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "type_ptr.inl" #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. /// <glm/gtc/ulp.hpp> need to be included to use these features.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTC_ulp #pragma once
#define GLM_GTC_ulp
// Dependencies // Dependencies
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -87,6 +86,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "ulp.inl" #include "ulp.inl"
#endif//GLM_GTC_ulp

View File

@ -201,8 +201,10 @@ namespace glm
{ {
# if((GLM_LANG & GLM_LANG_CXX11_FLAG) && !(GLM_PLATFORM & GLM_PLATFORM_ANDROID)) # if((GLM_LANG & GLM_LANG_CXX11_FLAG) && !(GLM_PLATFORM & GLM_PLATFORM_ANDROID))
return std::nextafter(x, std::numeric_limits<float>::max()); return std::nextafter(x, std::numeric_limits<float>::max());
# elif((GLM_PLATFORM & GLM_PLATFORM_ANDROID) || (GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) # elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
return detail::nextafterf(x, FLT_MAX); return detail::nextafterf(x, FLT_MAX);
# elif(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
return _nextafterf(x, FLT_MAX);
# else # else
return nextafterf(x, FLT_MAX); return nextafterf(x, FLT_MAX);
# endif # endif
@ -213,7 +215,7 @@ namespace glm
{ {
# if((GLM_LANG & GLM_LANG_CXX11_FLAG) && !(GLM_PLATFORM & GLM_PLATFORM_ANDROID)) # if((GLM_LANG & GLM_LANG_CXX11_FLAG) && !(GLM_PLATFORM & GLM_PLATFORM_ANDROID))
return std::nextafter(x, std::numeric_limits<double>::max()); return std::nextafter(x, std::numeric_limits<double>::max());
# elif((GLM_PLATFORM & GLM_PLATFORM_ANDROID) || (GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) # elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
return detail::nextafter(x, std::numeric_limits<double>::max()); return detail::nextafter(x, std::numeric_limits<double>::max());
# else # else
return nextafter(x, DBL_MAX); return nextafter(x, DBL_MAX);
@ -233,8 +235,10 @@ namespace glm
{ {
# if((GLM_LANG & GLM_LANG_CXX11_FLAG) && !(GLM_PLATFORM & GLM_PLATFORM_ANDROID)) # if((GLM_LANG & GLM_LANG_CXX11_FLAG) && !(GLM_PLATFORM & GLM_PLATFORM_ANDROID))
return std::nextafter(x, std::numeric_limits<float>::min()); return std::nextafter(x, std::numeric_limits<float>::min());
# elif((GLM_PLATFORM & GLM_PLATFORM_ANDROID) || (GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) # elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
return detail::nextafterf(x, FLT_MIN); return detail::nextafterf(x, FLT_MIN);
# elif(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
return _nextafterf(x, FLT_MIN);
# else # else
return nextafterf(x, FLT_MIN); return nextafterf(x, FLT_MIN);
# endif # endif

View File

@ -35,8 +35,7 @@
/// <glm/gtx/associated_min_max.hpp> need to be included to use these functionalities. /// <glm/gtx/associated_min_max.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_associated_min_max #pragma once
#define GLM_GTX_associated_min_max
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -102,5 +101,3 @@ namespace glm
} //namespace glm } //namespace glm
#include "associated_min_max.inl" #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. /// <glm/gtx/bit.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_bit #pragma once
#define GLM_GTX_bit
// Dependencies // Dependencies
#include "../detail/type_int.hpp" #include "../detail/type_int.hpp"
@ -230,5 +229,3 @@ namespace glm
} //namespace glm } //namespace glm
#include "bit.inl" #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. /// <glm/gtx/closest_point.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_closest_point #pragma once
#define GLM_GTX_closest_point
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -62,5 +61,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "closest_point.inl" #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. /// <glm/gtx/color_space.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_color_space #pragma once
#define GLM_GTX_color_space
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -92,5 +91,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "color_space.inl" #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. /// <glm/gtx/color_space_YCoCg.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef glm_gtx_color_space_YCoCg #pragma once
#define glm_gtx_color_space_YCoCg
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -80,5 +79,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "color_space_YCoCg.inl" #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. /// <glm/gtx/compatibility.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_compatibility #pragma once
#define GLM_GTX_compatibility
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -155,6 +154,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "compatibility.inl" #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. /// <glm/gtx/component_wise.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_component_wise #pragma once
#define GLM_GTX_component_wise
// Dependencies // Dependencies
#include "../detail/setup.hpp" #include "../detail/setup.hpp"
@ -78,5 +77,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "component_wise.inl" #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. /// <glm/gtx/dual_quaternion.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_dual_quaternion #pragma once
#define GLM_GTX_dual_quaternion
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -57,13 +56,13 @@ namespace detail
struct tdualquat struct tdualquat
{ {
enum ctor{null}; enum ctor{null};
typedef T value_type;
typedef glm::detail::tquat<T, P> part_type; typedef glm::detail::tquat<T, P> part_type;
public: public:
glm::detail::tquat<T, P> real, dual; glm::detail::tquat<T, P> real, dual;
GLM_FUNC_DECL GLM_CONSTEXPR int length() const; GLM_FUNC_DECL GLM_CONSTEXPR length_t length() const;
// Constructors // Constructors
GLM_FUNC_DECL tdualquat(); GLM_FUNC_DECL tdualquat();
@ -291,5 +290,3 @@ namespace detail
} //namespace glm } //namespace glm
#include "dual_quaternion.inl" #include "dual_quaternion.inl"
#endif//GLM_GTX_dual_quaternion

View File

@ -33,7 +33,7 @@ namespace glm{
namespace detail namespace detail
{ {
template <typename T, precision P> template <typename T, precision P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR int tdualquat<T, P>::length() const GLM_FUNC_QUALIFIER GLM_CONSTEXPR length_t tdualquat<T, P>::length() const
{ {
return 8; return 8;
} }

View File

@ -36,8 +36,7 @@
/// <glm/gtx/euler_angles.hpp> need to be included to use these functionalities. /// <glm/gtx/euler_angles.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_euler_angles #pragma once
#define GLM_GTX_euler_angles
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -151,5 +150,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "euler_angles.inl" #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. /// <glm/gtx/extend.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_extend #pragma once
#define GLM_GTX_extend
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -62,5 +61,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "extend.inl" #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. /// <glm/gtx/extented_min_max.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_extented_min_max #pragma once
#define GLM_GTX_extented_min_max
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -157,5 +156,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "extented_min_max.inl" #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. /// <glm/gtx/fast_exponential.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_fast_exponential #pragma once
#define GLM_GTX_fast_exponential
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -94,5 +93,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "fast_exponential.inl" #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. /// <glm/gtx/fast_square_root.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_fast_square_root #pragma once
#define GLM_GTX_fast_square_root
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -86,5 +85,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "fast_square_root.inl" #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. /// <glm/gtx/fast_trigonometry.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_fast_trigonometry #pragma once
#define GLM_GTX_fast_trigonometry
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -96,5 +95,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "fast_trigonometry.inl" #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. /// <glm/gtx/gradient_paint.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_gradient_paint #pragma once
#define GLM_GTX_gradient_paint
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -72,5 +71,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "gradient_paint.inl" #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. /// <glm/gtx/handed_coordinate_system.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_handed_coordinate_space #pragma once
#define GLM_GTX_handed_coordinate_space
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -70,5 +69,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "handed_coordinate_space.inl" #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. /// <glm/gtx/inertia.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_inertia #pragma once
#define GLM_GTX_inertia
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -112,5 +111,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "inertia.inl" #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. /// <glm/gtx/integer.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_integer #pragma once
#define GLM_GTX_integer
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -100,5 +99,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "integer.inl" #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. /// <glm/gtx/intersect.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_intersect #pragma once
#define GLM_GTX_intersect
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -107,5 +106,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "intersect.inl" #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. /// <glm/gtx/io.hpp> needs to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_io #pragma once
#define GLM_GTX_io GLM_VERSION
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -222,5 +221,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "io.inl" #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. /// <glm/gtx/log_base.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_log_base #pragma once
#define GLM_GTX_log_base
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -61,5 +60,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "log_base.inl" #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. /// <glm/gtx/matrix_cross_product.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_cross_product #pragma once
#define GLM_GTX_matrix_cross_product
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -67,5 +66,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_cross_product.inl" #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. /// <glm/gtx/matrix_interpolation.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_interpolation #pragma once
#define GLM_GTX_matrix_interpolation
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -84,5 +83,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_interpolation.inl" #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. /// <glm/gtx/matrix_major_storage.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_major_storage #pragma once
#define GLM_GTX_matrix_major_storage
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -139,5 +138,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_major_storage.inl" #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. /// <glm/gtx/matrix_operation.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_operation #pragma once
#define GLM_GTX_matrix_operation
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -108,5 +107,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_operation.inl" #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. /// <glm/gtx/matrix_query.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_query #pragma once
#define GLM_GTX_matrix_query
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -97,5 +96,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_query.inl" #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. /// <glm/gtx/matrix_transform_2d.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_matrix_transform_2d #pragma once
#define GLM_GTX_matrix_transform_2d
// Dependency: // Dependency:
#include "../mat3x3.hpp" #include "../mat3x3.hpp"
@ -101,5 +100,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "matrix_transform_2d.inl" #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. /// <glm/gtx/mixed_product.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_mixed_product #pragma once
#define GLM_GTX_mixed_product
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -61,5 +60,3 @@ namespace glm
}// namespace glm }// namespace glm
#include "mixed_product.inl" #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. /// <glm/gtx/multiple.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_multiple #pragma once
#define GLM_GTX_multiple
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -79,5 +78,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "multiple.inl" #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. /// <glm/gtx/norm.hpp> need to be included to use these functionalities.
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
#ifndef GLM_GTX_norm #pragma once
#define GLM_GTX_norm
// Dependency: // Dependency:
#include "../glm.hpp" #include "../glm.hpp"
@ -123,5 +122,3 @@ namespace glm
}//namespace glm }//namespace glm
#include "norm.inl" #include "norm.inl"
#endif//GLM_GTX_norm

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