Make SReflection a nullable

This commit is contained in:
Flamefire committed 2014-10-24 22:54:11 +02:00
1 parent ad3f01aded
commit eca0dd68ca
34 files changed
+179 -958

No files matched your search

+1 -13
View File
@@ -237,23 +237,11 @@ namespace VocaluxeLib
[XmlRoot("Reflection")]
public struct SReflection
{
[XmlAttribute] public bool Enabled;
public float Height;
public float Space;
//Needed for serialization
public bool HeightSpecified
public SReflection(float height, float space)
{
get { return Enabled; }
}
public bool SpaceSpecified
{
get { return Enabled; }
}
public SReflection(bool enabled, float height, float space)
{
Enabled = enabled;
Height = height;
Space = space;
}