convert VB to C#

This commit is contained in:
2020-09-24 11:21:53 +02:00
parent 64277916cd
commit fecbeb4659
320 changed files with 17755 additions and 10320 deletions

View File

@@ -0,0 +1,35 @@
using System;
using System.Drawing;
using global::System.Numerics;
namespace Pilz.S3DFileParser
{
public class Material : IComparable
{
public Image Image { get; set; } = null;
public Color? Color { get; set; } = default;
public float? Opacity { get; set; } = default;
public Vector2 Wrap { get; set; } = new Vector2(10497f, 10497f);
public Vector2 Scale { get; set; } = new Vector2(1.0f, 1.0f);
public object Tag { get; set; } = null;
public int CompareTo(object obj)
{
if (obj is object)
{
if (ReferenceEquals(obj, this))
{
return 0;
}
else
{
return -1;
}
}
else
{
return 1;
}
}
}
}