Updated changelog
This commit is contained in:
commit
e00d9b7e73
@ -242,6 +242,11 @@ namespace detail
|
|||||||
}; \
|
}; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GLM_DETAIL_IS_FLOAT(detail::thalf);
|
||||||
|
GLM_DETAIL_IS_FLOAT(float);
|
||||||
|
GLM_DETAIL_IS_FLOAT(double);
|
||||||
|
GLM_DETAIL_IS_FLOAT(long double);
|
||||||
|
|
||||||
//////////////////
|
//////////////////
|
||||||
// bool
|
// bool
|
||||||
|
|
||||||
|
@ -217,9 +217,7 @@ namespace detail
|
|||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'modf' only accept floating-point inputs");
|
GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'modf' only accept floating-point inputs");
|
||||||
|
|
||||||
i = glm::floor(x);
|
return std::modf(x, &i);
|
||||||
|
|
||||||
return x - i;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename valType>
|
template <typename valType>
|
||||||
|
@ -34,15 +34,6 @@
|
|||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
namespace detail
|
|
||||||
{
|
|
||||||
GLM_DETAIL_IS_FLOAT(detail::thalf);
|
|
||||||
GLM_DETAIL_IS_FLOAT(float);
|
|
||||||
GLM_DETAIL_IS_FLOAT(double);
|
|
||||||
GLM_DETAIL_IS_FLOAT(long double);
|
|
||||||
}
|
|
||||||
//namespace detail
|
|
||||||
|
|
||||||
#ifdef GLM_USE_HALF_SCALAR
|
#ifdef GLM_USE_HALF_SCALAR
|
||||||
typedef detail::thalf lowp_float_t;
|
typedef detail::thalf lowp_float_t;
|
||||||
#else//GLM_USE_HALF_SCALAR
|
#else//GLM_USE_HALF_SCALAR
|
||||||
|
@ -34,12 +34,19 @@ GLM is a header only library, there is nothing to build, just include it.
|
|||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
|
||||||
More informations in GLM manual:
|
More informations in GLM manual:
|
||||||
http://glm.g-truc.net/glm-0.9.3.pdf
|
http://glm.g-truc.net/glm-0.9.2.pdf
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
GLM 0.9.2.8: 2011-12-XX
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
- Fixed modf implementation
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.3.A: 2011-11-11
|
GLM 0.9.3.A: 2011-11-11
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
- Improved doxygen documentation
|
- Improved doxygen documentation
|
||||||
|
- Added new swizzle operators for C++11 compilers
|
||||||
|
- Added new swizzle operators declared as functions
|
||||||
- Promoted GLM_GTC_noise extension: simplex, perlin, periodic noise functions
|
- Promoted GLM_GTC_noise extension: simplex, perlin, periodic noise functions
|
||||||
- Promoted GLM_GTC_random extension: linear, gaussian and various random number
|
- Promoted GLM_GTC_random extension: linear, gaussian and various random number
|
||||||
generation distribution
|
generation distribution
|
||||||
|
Loading…
x
Reference in New Issue
Block a user