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:
parent
c6bf5c75bc
commit
4efc47d75a
10 changed files with 16 additions and 10 deletions
|
|
@ -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; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue