fix uniform scale check

cosmonaut 2023-01-15 12:41:08 -08:00
parent 43aec46b2f
commit 27d7e23b3f
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);