summaryrefslogtreecommitdiff
path: root/utility/maths.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 13:42:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 13:42:10 +0000
commit7481957415ecc581b7dfd2453b0e61058e2ac0c6 (patch)
tree204a23b7a7c3e495ace5209303dc32aa2fbe122f /utility/maths.h
parentRename flat_angle to vector_yaw (diff)
downloadilt-7481957415ecc581b7dfd2453b0e61058e2ac0c6.tar.bz2
ilt-7481957415ecc581b7dfd2453b0e61058e2ac0c6.tar.xz
ilt-7481957415ecc581b7dfd2453b0e61058e2ac0c6.zip
Add vector pitch
Diffstat (limited to 'utility/maths.h')
-rw-r--r--utility/maths.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utility/maths.h b/utility/maths.h
index b8dd342..f2114ef 100644
--- a/utility/maths.h
+++ b/utility/maths.h
@@ -29,6 +29,7 @@ constexpr auto two_pi {glm::two_pi<float>()};
glm::mat4 flat_orientation(const glm::vec3 & diff);
float vector_yaw(const glm::vec3 & diff);
+float vector_pitch(const glm::vec3 & diff);
float round_frac(const float & v, const float & frac);