|
@@ -351,8 +351,8 @@ impl ObjectModifier {
|
|
let corners: Vec<Point> = corners
|
|
let corners: Vec<Point> = corners
|
|
.iter()
|
|
.iter()
|
|
.map(|pt| {
|
|
.map(|pt| {
|
|
- // TODO: WTF is this and why is it necessary?
|
|
|
|
- // Seems to be correct as far as calculation of correct origin..
|
|
|
|
|
|
+ // Skewing along two axis is differenet from rotation, but how to handle
|
|
|
|
+ // both skewing of an axis combined with a rotation?
|
|
if self.modifiers.x_skew == 0.0 || self.modifiers.y_skew == 0.0 {
|
|
if self.modifiers.x_skew == 0.0 || self.modifiers.y_skew == 0.0 {
|
|
Point {
|
|
Point {
|
|
x: pt.x + pt.y * self.modifiers.x_skew,
|
|
x: pt.x + pt.y * self.modifiers.x_skew,
|