fix uniform scale check

pull/46/head
cosmonaut 2023-01-15 12:41:08 -08:00
parent 10db4f95c8
commit 72573219ed
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
}
public bool IsAxisAligned => Rotation % Fix64.PiOver2 == Fix64.Zero;
public bool IsUniformScale => Scale.X == Scale.Y;
public bool IsUniformScale => Scale.X == Scale.Y || Scale.X == -Scale.Y;
public static readonly Transform2D Identity = new Transform2D(Vector2.Zero, Fix64.Zero, Vector2.One);