]> git.localhorst.tv Git - blank.git/blobdiff - src/model/geometry.hpp
compress protocol a little
[blank.git] / src / model / geometry.hpp
index f9f87c4f9d14462f31af92b16247e5a6aad584e9..fd2c42bb8c8fa7f643f7fcae8697aeac26496dd2 100644 (file)
@@ -13,6 +13,9 @@ constexpr float PI_0p5 = PI * 0.5f;
 constexpr float PI_1p5 = PI * 1.5f;
 constexpr float PI_2p0 = PI * 2.0f;
 
+constexpr float PI_inv = 1.0f / PI;
+constexpr float PI_0p5_inv = 1.0f / PI_0p5;
+
 constexpr float DEG_RAD_FACTOR = PI / 180.0f;
 constexpr float RAD_DEG_FACTOR = 180.0f / PI;