X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgeometry.hpp;h=16651d82be46427b89296784c46735cc65a2c9c2;hb=3072e2cd49ad1614100d1a1c73afe6a4888fb875;hp=9a9690b245cd59c0fff0c14baa6c74800120b054;hpb=4a21e9e32525fe23915db97f3439cae780994118;p=blank.git diff --git a/src/geometry.hpp b/src/geometry.hpp index 9a9690b..16651d8 100644 --- a/src/geometry.hpp +++ b/src/geometry.hpp @@ -8,6 +8,9 @@ namespace blank { constexpr float PI = 3.141592653589793238462643383279502884; +constexpr float PI_0p5 = PI * 0.5f; +constexpr float PI_1p5 = PI * 1.5f; +constexpr float PI_2p0 = PI * 2.0f; struct AABB { glm::vec3 min;