summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/transform.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/transform.inl')
-rw-r--r--external/include/glm/gtx/transform.inl18
1 files changed, 9 insertions, 9 deletions
diff --git a/external/include/glm/gtx/transform.inl b/external/include/glm/gtx/transform.inl
index 516d866..56bfc90 100644
--- a/external/include/glm/gtx/transform.inl
+++ b/external/include/glm/gtx/transform.inl
@@ -3,22 +3,22 @@
namespace glm
{
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tmat4x4<T, P> translate(tvec3<T, P> const & v)
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER mat<4, 4, T, Q> translate(vec<3, T, Q> const& v)
{
- return translate(tmat4x4<T, P>(static_cast<T>(1)), v);
+ return translate(mat<4, 4, T, Q>(static_cast<T>(1)), v);
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tmat4x4<T, P> rotate(T angle, tvec3<T, P> const & v)
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER mat<4, 4, T, Q> rotate(T angle, vec<3, T, Q> const& v)
{
- return rotate(tmat4x4<T, P>(static_cast<T>(1)), angle, v);
+ return rotate(mat<4, 4, T, Q>(static_cast<T>(1)), angle, v);
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tmat4x4<T, P> scale(tvec3<T, P> const & v)
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER mat<4, 4, T, Q> scale(vec<3, T, Q> const& v)
{
- return scale(tmat4x4<T, P>(static_cast<T>(1)), v);
+ return scale(mat<4, 4, T, Q>(static_cast<T>(1)), v);
}
}//namespace glm