summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/normalize_dot.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/normalize_dot.inl')
-rw-r--r--external/include/glm/gtx/normalize_dot.inl8
1 files changed, 4 insertions, 4 deletions
diff --git a/external/include/glm/gtx/normalize_dot.inl b/external/include/glm/gtx/normalize_dot.inl
index 0d01ffe..8b88860 100644
--- a/external/include/glm/gtx/normalize_dot.inl
+++ b/external/include/glm/gtx/normalize_dot.inl
@@ -3,14 +3,14 @@
namespace glm
{
- template <typename T, precision P, template <typename, precision> class vecType>
- GLM_FUNC_QUALIFIER T normalizeDot(vecType<T, P> const & x, vecType<T, P> const & y)
+ template<length_t L, typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER T normalizeDot(vec<L, T, Q> const& x, vec<L, T, Q> const& y)
{
return glm::dot(x, y) * glm::inversesqrt(glm::dot(x, x) * glm::dot(y, y));
}
- template <typename T, precision P, template <typename, precision> class vecType>
- GLM_FUNC_QUALIFIER T fastNormalizeDot(vecType<T, P> const & x, vecType<T, P> const & y)
+ template<length_t L, typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER T fastNormalizeDot(vec<L, T, Q> const& x, vec<L, T, Q> const& y)
{
return glm::dot(x, y) * glm::fastInverseSqrt(glm::dot(x, x) * glm::dot(y, y));
}