diff options
author | crupest <crupest@outlook.com> | 2020-10-17 15:58:00 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-17 15:58:00 +0800 |
commit | bb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55 (patch) | |
tree | 6930ab471e66a61f8a3806e532d69d0ff9c634e8 /include/cru/platform/Matrix.hpp | |
parent | 46ff47d2f47a66372ca0a8a09dd08c4fb04004f3 (diff) | |
parent | a1f950e2b3b2268b267e647205b14b59c15f8ee1 (diff) | |
download | cru-bb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55.tar.gz cru-bb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55.tar.bz2 cru-bb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55.zip |
Merge branch 'master' of https://github.com/crupest/CruUI into master
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}; } |