smrendererv3/SMCode/SM.Base/Objects/Mesh.cs
Michel Fedde 2e7051d800 + AxisHelper
~ Transformation can now set to be ignored. (Sending a Identity, when requested)
~ Changed how Meshes store Attributes
2020-12-13 13:03:57 +01:00

25 lines
No EOL
507 B
C#

#region usings
using SM.OGL.Mesh;
#endregion
namespace SM.Base.Objects
{
/// <inheritdoc />
public class Mesh : GenericMesh
{
/// <summary>
/// While initializing, it will add the <see cref="Color" /> to the data index.
/// </summary>
protected Mesh()
{
Attributes.Add(3, "color", Color);
}
/// <summary>
/// Contains vertex colors
/// </summary>
public virtual VBO Color { get; }
}
}