convert VB to C#
This commit is contained in:
12
Pilz.Simple3DFileParser/Model/Shading.cs
Normal file
12
Pilz.Simple3DFileParser/Model/Shading.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Pilz.S3DFileParser
|
||||
{
|
||||
public class Shading
|
||||
{
|
||||
public Color AmbientColor { get; set; } = Color.FromArgb(Convert.ToInt32(0xFFFFFFFF));
|
||||
public Color DiffuseColor { get; set; } = Color.FromArgb(Convert.ToInt32(0xFF7F7F7F));
|
||||
public Vertex DiffusePosition { get; set; } = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user