From c90497f77b704374362196568776fe27c2949919 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 25 Aug 2025 21:42:58 +0300 Subject: [PATCH] Fixes Unreal Engine view angle matrix order The view angle rotation matrix order in Unreal Engine was incorrect, leading to incorrect camera orientation. This commit fixes the order of rotation matrices to roll, pitch, yaw to correctly implement Unreal Engine camera rotations. Adds comprehensive unit tests for Unreal Engine formulas, camera and constants. Marks Unreal Engine as supported in README.md. --- .idea/codeStyles/Project.xml | 7 -- .idea/codeStyles/codeStyleConfig.xml | 1 + README.md | 3 +- source/engines/unreal_engine/formulas.cpp | 6 +- tests/engines/unit_test_unreal_engine.cpp | 105 ++++++++++++++++++++++ 5 files changed, 111 insertions(+), 11 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index defa978..5d6ba7c 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -182,19 +182,12 @@