From 77ab194851c7cf2d96a00ba2dd7f068aa66c35ee Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 14 Feb 2021 12:58:22 +0000 Subject: Add consts for other compass points --- utility/maths.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utility') diff --git a/utility/maths.h b/utility/maths.h index 0b379d0..22688cb 100644 --- a/utility/maths.h +++ b/utility/maths.h @@ -9,6 +9,9 @@ using Arc = std::pair; constexpr const glm::vec3 up {0, 1, 0}; constexpr const glm::vec3 north {0, 0, 1}; +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 pi {glm::pi()}; constexpr auto two_pi {glm::two_pi()}; -- cgit v1.2.3