diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-21 20:05:56 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-21 20:05:56 +0000 |
commit | 49cfebf74e97ccc88d2d6a459172cb2a17e545b8 (patch) | |
tree | 7f8192f55a35ff94ba90c83e445db871224ccde4 /lib/maths.h | |
parent | Simplify creation of planes (diff) | |
download | ilt-49cfebf74e97ccc88d2d6a459172cb2a17e545b8.tar.bz2 ilt-49cfebf74e97ccc88d2d6a459172cb2a17e545b8.tar.xz ilt-49cfebf74e97ccc88d2d6a459172cb2a17e545b8.zip |
vector_yaw only needs 2 dimensions
Diffstat (limited to 'lib/maths.h')
-rw-r--r-- | lib/maths.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/maths.h b/lib/maths.h index adf2158..ce18b3f 100644 --- a/lib/maths.h +++ b/lib/maths.h @@ -84,7 +84,7 @@ glm::mat4 rotate_pitch(float); glm::mat4 rotate_yp(Rotation2D); glm::mat4 rotate_ypr(Rotation3D); -float vector_yaw(const Direction3D & diff); +float vector_yaw(const Direction2D & diff); float vector_pitch(const Direction3D & diff); float round_frac(const float & v, const float & frac); |