From 129f2e421e16bd008cdca8713cc91f67d103d94e Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 7 Jul 2023 23:05:14 +0200 Subject: Fix minor quality issues --- src/Math/MVP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Math/MVP.cpp') diff --git a/src/Math/MVP.cpp b/src/Math/MVP.cpp index dd5b5e7..de771d3 100644 --- a/src/Math/MVP.cpp +++ b/src/Math/MVP.cpp @@ -19,7 +19,7 @@ Matrix<4, 4> view(Vector<3> position, Rotation angles) { } Matrix<4, 4> perspective_projection(float aspect, float fov, float near, float far) { - auto fov_radians = Math::radians(fov); + auto fov_radians = radians(fov); float x_scale = 1.0f / (tan(fov_radians / 2.0f) * aspect); float y_scale = 1.0f / tan(fov_radians / 2.0f); -- cgit 1.4.1