Commit Graph

2 Commits

Author SHA1 Message Date
Andreas Kling
593fd69cdb Tests: Make rotation interpolation test use stable boolean checks
Avoid comparing exact matrix3d values which contain floating point
noise that could differ across platforms. Instead, check whether the
transform is or isn't the identity matrix.
2026-03-21 23:16:32 -05:00
Andreas Kling
ed4b5d7b72 Tests: Add test for rotation interpolation with same-axis transforms
When interpolating between rotateY(0deg) and rotateY(3600deg), the
angle should be interpolated numerically. Currently we use quaternion
slerp which sees these as identical rotations (3600 mod 360 = 0),
producing no visual animation. A following commit will fix this.
2026-03-21 23:16:32 -05:00