diff options
author | quou <quou@disroot.org> | 2025-01-24 00:38:40 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-24 00:38:40 +1100 |
commit | 2751f6bd1ac8c11a68075d303e84411617b67b9b (patch) | |
tree | 2a60b8d26efb68e1f74f59bbcce6843d601bf59a /maths.hpp | |
parent | 4c1d051529ccbc4f9cc26be63241703dc49b0995 (diff) |
construct a 4x4 rotation matrix using a quaternion
Diffstat (limited to 'maths.hpp')
-rw-r--r-- | maths.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -496,6 +496,7 @@ struct m4f { static m4f translate(m4f m, v3f v); static m4f rotate(m4f m, float a, v3f v); + static m4f rotate(m4f m, const v4f& q); static m4f scale(m4f m, v3f v); v3f get_translation(); |