mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
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.
5 lines
164 B
Plaintext
5 lines
164 B
Plaintext
rotateY at 0.25 is not identity: true
|
|
rotateY at 0.5 is ~identity: true
|
|
rotateX at 0.5 of 720deg is ~identity: true
|
|
rotateX at 0.25 of 720deg is not identity: true
|