diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-05 12:15:28 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-05 12:15:33 +0100 |
commit | 38a839533e76d3e9570591a6aeec7c5c500270cf (patch) | |
tree | 339380935fca85836c4fe218e4f71f7c9c7bb25f /lib/maths.h | |
parent | Psycho-rebased branch billboard-shadows on top of main (diff) | |
download | ilt-38a839533e76d3e9570591a6aeec7c5c500270cf.tar.bz2 ilt-38a839533e76d3e9570591a6aeec7c5c500270cf.tar.xz ilt-38a839533e76d3e9570591a6aeec7c5c500270cf.zip |
Add rotate_yp taking two separate parameters
Diffstat (limited to 'lib/maths.h')
-rw-r--r-- | lib/maths.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/maths.h b/lib/maths.h index 3127d3c..32f2884 100644 --- a/lib/maths.h +++ b/lib/maths.h @@ -97,6 +97,7 @@ glm::mat4 rotate_roll(float); glm::mat4 rotate_yaw(float); glm::mat4 rotate_pitch(float); glm::mat4 rotate_yp(Rotation2D); +glm::mat4 rotate_yp(Angle yaw, Angle pitch); glm::mat4 rotate_ypr(Rotation3D); float vector_yaw(const Direction2D & diff); |