2021-03-07

+ IScriptable can now be disabled instancewise
+ IShowItem can disable rendering.

~ SM.Base.Mesh has now ILineMesh

- IGenericWindow.AspectRatioReverse
This commit is contained in:
Michel Fedde 2021-03-07 12:30:54 +01:00
parent c6bf5c75bc
commit 4efc47d75a
10 changed files with 16 additions and 10 deletions

View file

@ -8,8 +8,11 @@ using SM.OGL.Mesh;
namespace SM.Base.Objects
{
/// <inheritdoc />
public class Mesh : GenericMesh
public class Mesh : GenericMesh, ILineMesh
{
public float LineWidth { get; set; } = 1;
/// <summary>
/// While initializing, it will add the <see cref="Color" /> to the data index.
/// </summary>
@ -23,5 +26,6 @@ namespace SM.Base.Objects
/// Contains vertex colors
/// </summary>
public virtual VBO Color { get; protected set; }
}
}