]> git.localhorst.tv Git - blank.git/blobdiff - src/geometry.hpp
fix dec/rad error in camera FOV
[blank.git] / src / geometry.hpp
index 16651d82be46427b89296784c46735cc65a2c9c2..78fe5f5a2ce538deb943eee6c160f9369eb26c9f 100644 (file)
@@ -8,6 +8,7 @@
 namespace blank {
 
 constexpr float PI = 3.141592653589793238462643383279502884;
+constexpr float PI_0p25 = PI * 0.25f;
 constexpr float PI_0p5 = PI * 0.5f;
 constexpr float PI_1p5 = PI * 1.5f;
 constexpr float PI_2p0 = PI * 2.0f;