Rename WRot.Zero to WRot.None.

This commit is contained in:
Paul Chote
2020-07-12 13:46:35 +01:00
committed by tovl
parent 60a7f53491
commit 8c3793e7ea
6 changed files with 7 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ namespace OpenRA
public readonly WAngle Roll, Pitch, Yaw;
public WRot(WAngle roll, WAngle pitch, WAngle yaw) { Roll = roll; Pitch = pitch; Yaw = yaw; }
public static readonly WRot Zero = new WRot(WAngle.Zero, WAngle.Zero, WAngle.Zero);
public static readonly WRot None = new WRot(WAngle.Zero, WAngle.Zero, WAngle.Zero);
public static WRot FromFacing(int facing) { return new WRot(WAngle.Zero, WAngle.Zero, WAngle.FromFacing(facing)); }
public static WRot FromYaw(WAngle yaw) { return new WRot(WAngle.Zero, WAngle.Zero, yaw); }