diff options
Diffstat (limited to '')
-rw-r--r-- | external/include/glm/gtx/orthonormalize.inl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/external/include/glm/gtx/orthonormalize.inl b/external/include/glm/gtx/orthonormalize.inl index 4796384..c65db11 100644 --- a/external/include/glm/gtx/orthonormalize.inl +++ b/external/include/glm/gtx/orthonormalize.inl @@ -3,10 +3,10 @@ namespace glm { - template <typename T, precision P> - GLM_FUNC_QUALIFIER tmat3x3<T, P> orthonormalize(tmat3x3<T, P> const & m) + template<typename T, qualifier Q> + GLM_FUNC_QUALIFIER mat<3, 3, T, Q> orthonormalize(mat<3, 3, T, Q> const& m) { - tmat3x3<T, P> r = m; + mat<3, 3, T, Q> r = m; r[0] = normalize(r[0]); @@ -22,8 +22,8 @@ namespace glm return r; } - template <typename T, precision P> - GLM_FUNC_QUALIFIER tvec3<T, P> orthonormalize(tvec3<T, P> const & x, tvec3<T, P> const & y) + template<typename T, qualifier Q> + GLM_FUNC_QUALIFIER vec<3, T, Q> orthonormalize(vec<3, T, Q> const& x, vec<3, T, Q> const& y) { return normalize(x - y * dot(y, x)); } |