effectcraft/crates/engine/tests
Kristian Myram be99fecfdc #1010: recover a static Orientation's Y angle without losing precision near gimbal lock
uniform_parent_pose took the Y angle from asin, which loses precision within about 1e-6 degrees of
+-90. The Y angle now comes from atan2 on cos(Y), as the X and Z angles already do. The gimbal
branch and the principal-range output are unchanged.

A new test parents a static Orientation with Y 1e-6 degrees off gimbal lock under a uniform
parent. Its largest corner displacement was 3.3e-8 px before this change and 1.5e-14 px after.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-13 01:33:51 +02:00
..
key_time_post_snap_bounds.rs Issue 257: support explicit keyframe time bases 2026-10-10 11:12:14 +10:00
key_time_reply_contract.rs Issue 257: support explicit keyframe time bases 2026-10-10 11:12:14 +10:00
parenting_3d_position.rs #1010: recover a static Orientation's Y angle without losing precision near gimbal lock 2026-10-13 01:33:51 +02:00