Fixed slerp

This commit is contained in:
Christophe Riccio 2011-05-26 22:01:28 +01:00
parent 3487ff30a4
commit d815607abb

View File

@ -147,6 +147,20 @@ namespace detail{
////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////
// tquat<valType> external operators // tquat<valType> external operators
template <typename T>
GLM_FUNC_QUALIFIER detail::tquat<T> operator*
(
detail::tquat<T> const & q,
detail::tquat<T> const & p
)
{
return detail::tquat<T>(
q.w + p.w,
q.x + p.x,
q.y + p.y,
q.z + p.z);
}
template <typename T> template <typename T>
GLM_FUNC_QUALIFIER detail::tquat<T> operator- GLM_FUNC_QUALIFIER detail::tquat<T> operator-
( (