|
@@ -351,8 +351,8 @@ impl ObjectModifier {
|
|
|
let corners: Vec<Point> = corners
|
|
|
.iter()
|
|
|
.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 {
|
|
|
Point {
|
|
|
x: pt.x + pt.y * self.modifiers.x_skew,
|