Fixed GTX_easing build on VS2013
This commit is contained in:
@@ -171,29 +171,41 @@ namespace glm{
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType elasticEaseInOut(genType const & a);
|
||||
|
||||
/// @param o Optional overshoot modifier
|
||||
/// @see gtx_easing
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType backEaseIn(genType const & a, genType const & o = 1.70158f);
|
||||
GLM_FUNC_DECL genType backEaseIn(genType const& a);
|
||||
|
||||
/// @see gtx_easing
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType backEaseOut(genType const& a);
|
||||
|
||||
/// @see gtx_easing
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType backEaseInOut(genType const& a);
|
||||
|
||||
/// @param o Optional overshoot modifier
|
||||
/// @see gtx_easing
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType backEaseOut(genType const & a, genType const & o = 1.70158f);
|
||||
GLM_FUNC_DECL genType backEaseIn(genType const& a, genType const& o);
|
||||
|
||||
/// @param o Optional overshoot modifier
|
||||
/// @see gtx_easing
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType backEaseInOut(genType const & a, genType const & o = 1.70158f);
|
||||
GLM_FUNC_DECL genType backEaseOut(genType const& a, genType const& o);
|
||||
|
||||
/// @param o Optional overshoot modifier
|
||||
/// @see gtx_easing
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType backEaseInOut(genType const& a, genType const& o);
|
||||
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType bounceEaseIn(genType const & a);
|
||||
GLM_FUNC_DECL genType bounceEaseIn(genType const& a);
|
||||
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType bounceEaseOut(genType const & a);
|
||||
GLM_FUNC_DECL genType bounceEaseOut(genType const& a);
|
||||
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType bounceEaseInOut(genType const & a, genType);
|
||||
GLM_FUNC_DECL genType bounceEaseInOut(genType const& a, genType);
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
||||
@@ -361,6 +361,24 @@ namespace glm{
|
||||
}
|
||||
}
|
||||
|
||||
template <typename genType>
|
||||
GLM_FUNC_QUALIFIER genType backEaseIn(genType const& a)
|
||||
{
|
||||
return backEaseIn(a, static_cast<genType>(1.70158));
|
||||
}
|
||||
|
||||
template <typename genType>
|
||||
GLM_FUNC_QUALIFIER genType backEaseOut(genType const& a)
|
||||
{
|
||||
return backEaseOut(a, static_cast<genType>(1.70158));
|
||||
}
|
||||
|
||||
template <typename genType>
|
||||
GLM_FUNC_QUALIFIER genType backEaseInOut(genType const& a)
|
||||
{
|
||||
return backEaseInOut(a, static_cast<genType>(1.70158));
|
||||
}
|
||||
|
||||
template <typename genType>
|
||||
GLM_FUNC_QUALIFIER genType bounceEaseOut(genType const& a)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user