diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-05 19:39:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-05 19:39:40 +0000 |
commit | 67535647999faea49daf43bfeafeb4c4fc4f26ea (patch) | |
tree | deb9fec414a9ff4a473aa55a224f48250cb716e5 /lib/maths.h | |
parent | Test rotation funcs with a huge range of random values (diff) | |
download | ilt-67535647999faea49daf43bfeafeb4c4fc4f26ea.tar.bz2 ilt-67535647999faea49daf43bfeafeb4c4fc4f26ea.tar.xz ilt-67535647999faea49daf43bfeafeb4c4fc4f26ea.zip |
Template rotations and add one for 2D rotation matrix
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 a3a391d..dc0c617 100644 --- a/lib/maths.h +++ b/lib/maths.h @@ -45,6 +45,7 @@ sincosf(float a) return sc; } +glm::mat2 rotate_flat(float); glm::mat4 rotate_roll(float); glm::mat4 rotate_yaw(float); glm::mat4 rotate_pitch(float); |