summaryrefslogtreecommitdiff
path: root/lib/maths.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/maths.h')
-rw-r--r--lib/maths.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/maths.h b/lib/maths.h
index b28fe01..4223f14 100644
--- a/lib/maths.h
+++ b/lib/maths.h
@@ -223,7 +223,7 @@ vector_pitch(const glm::vec<D, T, Q> & diff)
return std::atan(diff.z);
}
-template<std::floating_point T, glm::qualifier Q>
+template<Arithmetic T, glm::qualifier Q>
constexpr glm::vec<2, T, Q>
vector_normal(const glm::vec<2, T, Q> & vector)
{