+ Time controls (Stopwatch, Timers, Intervals) + Added smmeries to everything in SM.Base ~ Renamed Vectors to CVectors.
21 lines
No EOL
466 B
C#
21 lines
No EOL
466 B
C#
using SM.OGL.Mesh;
|
|
|
|
namespace SM.Base.Objects
|
|
{
|
|
/// <inheritdoc />
|
|
public class Mesh : GenericMesh
|
|
{
|
|
/// <summary>
|
|
/// Contains vertex colors
|
|
/// </summary>
|
|
public virtual VBO Color { get; }
|
|
|
|
/// <summary>
|
|
/// While initializing, it will add the <see cref="Color"/> to the data index.
|
|
/// </summary>
|
|
protected Mesh()
|
|
{
|
|
AttribDataIndex.Add(3, Color);
|
|
}
|
|
}
|
|
} |