Reworked the VBO

This commit is contained in:
Michel Fedde 2021-03-26 10:41:29 +01:00
parent 3bc90dd83b
commit ee732240f7
11 changed files with 174 additions and 253 deletions

View file

@ -1,5 +1,6 @@
#region usings
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL4;
using SM.OGL.Mesh;
@ -22,7 +23,7 @@ namespace SM.Base.Objects
/// <summary>
/// Contains vertex colors
/// </summary>
public virtual VBO Color { get; protected set; }
public virtual VBO<Color4> Color { get; protected set; }
/// <inheritdoc />
public float LineWidth { get; set; } = 1;