diff --git a/glm/fwd.hpp b/glm/fwd.hpp index f2693ce4..c477e463 100644 --- a/glm/fwd.hpp +++ b/glm/fwd.hpp @@ -31,27 +31,10 @@ #include "core/type_int.hpp" #include "core/type_float.hpp" +#include "core/type.hpp" -namespace glm{ -namespace detail +namespace glm { - class half; - - template struct tvec1; - template struct tvec2; - template struct tvec3; - template struct tvec4; - - template struct tmat2x2; - template struct tmat2x3; - template struct tmat2x4; - template struct tmat3x2; - template struct tmat3x3; - template struct tmat3x4; - template struct tmat4x2; - template struct tmat4x3; - template struct tmat4x4; -}//namespace detail }//namespace glm diff --git a/glm/glm.hpp b/glm/glm.hpp index 434d3f92..0a92996e 100644 --- a/glm/glm.hpp +++ b/glm/glm.hpp @@ -95,7 +95,6 @@ # pragma message("GLM: Core library included") #endif//GLM_MESSAGE -#include "./core/_detail.hpp" #include "./core/_vectorize.hpp" #include "./core/type_half.hpp" diff --git a/glm/gtc/random.inl b/glm/gtc/random.inl index ca1bd7eb..e12d6830 100644 --- a/glm/gtc/random.inl +++ b/glm/gtc/random.inl @@ -26,6 +26,7 @@ /// @author Christophe Riccio /////////////////////////////////////////////////////////////////////////////////// +#include #include #include @@ -43,7 +44,7 @@ namespace detail } */ }; - + template <> GLM_FUNC_QUALIFIER half compute_linearRand::operator() (half const & Min, half const & Max) const { @@ -61,7 +62,7 @@ namespace detail { return double(std::rand()) / double(RAND_MAX) * (Max - Min) + Min; } - + template <> GLM_FUNC_QUALIFIER long double compute_linearRand::operator() (long double const & Min, long double const & Max) const { diff --git a/readme.txt b/readme.txt index 9d18efbd..b800a0af 100644 --- a/readme.txt +++ b/readme.txt @@ -39,6 +39,7 @@ http://glm.g-truc.net/glm.pdf ================================================================================ GLM 0.9.5.0: 2013-XX-XX -------------------------------------------------------------------------------- +- Added forward declarations (glm/fwd.hpp) for faster compilations - Improved Intel Compiler detection - Added bitfieldInterleave and _mm_bit_interleave_si128 functions - Added GTX_scalar_relational