diff options
author | crupest <crupest@outlook.com> | 2020-10-08 14:11:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-08 14:11:44 +0800 |
commit | a1f950e2b3b2268b267e647205b14b59c15f8ee1 (patch) | |
tree | 914faf4cf39bdd687203b28dad6bffb2c6a83649 /include/cru/platform/Matrix.hpp | |
parent | 937b16dff40b6eba68d6bc13162f838c8432f43b (diff) | |
download | cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.tar.gz cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.tar.bz2 cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.zip |
...
Diffstat (limited to 'include/cru/platform/Matrix.hpp')
-rw-r--r-- | include/cru/platform/Matrix.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/platform/Matrix.hpp b/include/cru/platform/Matrix.hpp index cea5198b..e702df90 100644 --- a/include/cru/platform/Matrix.hpp +++ b/include/cru/platform/Matrix.hpp @@ -56,8 +56,8 @@ struct Matrix { static Matrix Rotation(float angle) { float r = AngleToRadian(angle); - float s = std::sinf(r); - float c = std::cosf(r); + float s = std::sin(r); + float c = std::cos(r); return Matrix{c, s, -s, c, 0.0f, 0.0f}; } |