Skip to content

transform: Normalize angles before the 0 check

Benjamin Otte requested to merge wip/otte/for-main into main

Otherwise we might end up with 0 degree rotations and our code assumes that this never happens.

In particular it returns NULL from inverting and that's an error condition.

Tests included.

Merge request reports

Loading