linting
removed some dead code and fixed a few bugs i introduced
This commit is contained in:
@@ -13,10 +13,6 @@ namespace _2DGAMELIB
|
||||
|
||||
private static double s0;
|
||||
|
||||
public static double GetDiagonalLength(this double Width, double Height)
|
||||
{
|
||||
return System.Math.Sqrt(Width * Width + Height * Height);
|
||||
}
|
||||
|
||||
public static Color Reverse(this Color c)
|
||||
{
|
||||
@@ -341,11 +337,6 @@ namespace _2DGAMELIB
|
||||
return string.Join(Separator, strs);
|
||||
}
|
||||
|
||||
public static string[] Split(this string str, string Separator)
|
||||
{
|
||||
return str.Split(new string[1] { Separator }, StringSplitOptions.None);
|
||||
}
|
||||
|
||||
static Oth()
|
||||
{
|
||||
s1 = 1.01;
|
||||
|
||||
Reference in New Issue
Block a user