From 4d4dfae8f28afb85201082871b1b282a29c1ba3d Mon Sep 17 00:00:00 2001 From: Orange Date: Sat, 20 Sep 2025 15:44:09 +0300 Subject: [PATCH] fix --- tests/engines/unit_test_open_gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/engines/unit_test_open_gl.cpp b/tests/engines/unit_test_open_gl.cpp index 57ddb5f..70856f4 100644 --- a/tests/engines/unit_test_open_gl.cpp +++ b/tests/engines/unit_test_open_gl.cpp @@ -29,7 +29,7 @@ TEST(unit_test_opengl, ForwardVectorRotationYaw) { omath::opengl_engine::ViewAngles angles; - angles.yaw = omath::opengl_engine::YawAngle::from_degrees(90.f); + angles.yaw = omath::opengl_engine::YawAngle::from_degrees(-90.f); const auto forward = omath::opengl_engine::forward_vector(angles); EXPECT_NEAR(forward.x, omath::opengl_engine::k_abs_right.x, 0.00001f); @@ -43,7 +43,7 @@ TEST(unit_test_opengl, ForwardVectorRotationPitch) { omath::opengl_engine::ViewAngles angles; - angles.pitch = omath::opengl_engine::PitchAngle::from_degrees(-90.f); + angles.pitch = omath::opengl_engine::PitchAngle::from_degrees(90.f); const auto forward = omath::opengl_engine::forward_vector(angles); EXPECT_NEAR(forward.x, omath::opengl_engine::k_abs_up.x, 0.00001f);