public static HexFacing Apply(this HexFacing facing, HexRotation rot) { if (facing == HexFacing.bad) { return(HexFacing.bad); } else { return((HexFacing)NumUtil.WrapPos((int)facing - rot.CWcount, 6)); } }