Remove copy constructors for structs

This commit is contained in:
Flamefire committed 2014-10-16 21:38:22 +02:00
1 parent e04480171e
commit 87f3271046
13 files changed
+53 -95

No files matched your search

-31
View File
@@ -91,14 +91,6 @@ namespace VocaluxeLib
A = a;
}
public SColorF(SColorF color)
{
R = color.R;
G = color.G;
B = color.B;
A = color.A;
}
[Pure]
public Color AsColor()
{
@@ -123,12 +115,6 @@ namespace VocaluxeLib
get { return !String.IsNullOrEmpty(Name); }
}
public SThemeColor(SThemeColor theme)
{
Color = new SColorF(theme.Color);
Name = theme.Name;
}
public bool Get(int partyModeId, out SColorF color)
{
if (String.IsNullOrEmpty(Name))
@@ -176,16 +162,6 @@ namespace VocaluxeLib
Rotation = 0f;
}
public SRectF(SRectF rect)
{
X = rect.X;
Y = rect.Y;
W = rect.W;
H = rect.H;
Z = rect.Z;
Rotation = 0f;
}
public SRectF(Rectangle rect)
{
X = rect.X;
@@ -220,13 +196,6 @@ namespace VocaluxeLib
Height = height;
Space = space;
}
public SReflection(SReflection refl)
{
Enabled = refl.Enabled;
Height = refl.Height;
Space = refl.Space;
}
}
public struct SPoint3F