We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2e67d commit 131ff8cCopy full SHA for 131ff8c
1 file changed
node-graph/libraries/core-types/src/transform.rs
@@ -44,7 +44,7 @@ pub trait Transform {
44
45
let scale_x = if cos.abs() > 1e-10 { x_axis.x / cos } else { x_axis.y / sin };
46
47
- let mut skew = (sin * y_axis.y + cos * y_axis.x) / (sin * sin * scale_x + cos * cos * scale_x);
+ let mut skew = (sin * y_axis.y + cos * y_axis.x) / scale_x;
48
if !skew.is_finite() {
49
skew = 0.;
50
}
0 commit comments