Homebrew 4D Game Engine In Rust, inspired by Engine4D

Revert yaw composition order to fix camera orbiting behavior

The previous fix incorrectly swapped the yaw composition order. World-space yaw requires r_yaw.compose(&orientation), not orientation.compose(&r_yaw). This ensures that when you pitch up and then turn left/right, you maintain the pitch angle as expected in FPS-style controls. Also adds test_pitch_preserved_after_yaw to verify this behavior. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>


Author Willow Sparks Co-author Claude Opus 4.5 Date Commit Parent 0c10ce35
+36 -7
1 changed file
+36 -7
1 changed file