From a1f950e2b3b2268b267e647205b14b59c15f8ee1 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 8 Oct 2020 14:11:44 +0800 Subject: ... --- include/cru/platform/Matrix.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/platform/Matrix.hpp') 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}; } -- cgit v1.2.3