From dcc6947e0e9e2f121253609a8627a461aa2c15a7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 28 Feb 2021 23:29:11 +0000 Subject: Global definition of quarter_pi --- lib/maths.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/maths.h b/lib/maths.h index 89cb7cb..c072283 100644 --- a/lib/maths.h +++ b/lib/maths.h @@ -23,6 +23,7 @@ constexpr const glm::vec3 south {0, 0, -1}; constexpr const glm::vec3 east {-1, 0, 0}; constexpr const glm::vec3 west {1, 0, 0}; constexpr auto half_pi {glm::half_pi()}; +constexpr auto quarter_pi {half_pi / 2}; constexpr auto pi {glm::pi()}; constexpr auto two_pi {glm::two_pi()}; -- cgit v1.2.3