- Moved template types from 'detail' to 'glm' namespace #239, #244

This commit is contained in:
Christophe Riccio
2014-10-05 19:37:07 +02:00
parent 4ac77c08c7
commit f9484a6e9f
143 changed files with 3859 additions and 3936 deletions

View File

@@ -10,28 +10,28 @@
namespace glm
{
template <typename T, precision P>
GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> translate(
detail::tvec3<T, P> const & v)
GLM_FUNC_QUALIFIER tmat4x4<T, P> translate(
tvec3<T, P> const & v)
{
return translate(
detail::tmat4x4<T, P>(1.0f), v);
tmat4x4<T, P>(1.0f), v);
}
template <typename T, precision P>
GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> rotate(
GLM_FUNC_QUALIFIER tmat4x4<T, P> rotate(
T angle,
detail::tvec3<T, P> const & v)
tvec3<T, P> const & v)
{
return rotate(
detail::tmat4x4<T, P>(1), angle, v);
tmat4x4<T, P>(1), angle, v);
}
template <typename T, precision P>
GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> scale(
detail::tvec3<T, P> const & v)
GLM_FUNC_QUALIFIER tmat4x4<T, P> scale(
tvec3<T, P> const & v)
{
return scale(
detail::tmat4x4<T, P>(1.0f), v);
tmat4x4<T, P>(1.0f), v);
}
}//namespace glm