From 2f93a1bb004cf0e99f51735dc2f65967a3ded1b8 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 15 Mar 2024 01:37:53 +0800 Subject: [PATCH] fixed comments. --- src/Math/Matrix4f.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Math/Matrix4f.cpp b/src/Math/Matrix4f.cpp index 2866091..cebe639 100644 --- a/src/Math/Matrix4f.cpp +++ b/src/Math/Matrix4f.cpp @@ -102,7 +102,7 @@ namespace hgl 0.0f ); - //经查证,此代码等于glm::perspectiveRH_ZO之后将[1][1]乘-1,在SaschaWillems的范例中,如果反装Y,则[1][1]确实要乘-1。 + //经查证,此代码等于glm::perspectiveRH_ZO之后将[1][1]乘-1,在SaschaWillems的范例中,如果反转Y轴,则[1][1]确实要乘-1。 } Matrix4f lookat(const Vector3f &eye,const Vector3f &target,const Vector3f &up)