21 lines
470 B
C#
21 lines
470 B
C#
using Engine.Renderer.Buffer.Vertex;
|
|
using OpenTK.Graphics.OpenGL;
|
|
using OpenTK.Mathematics;
|
|
using Half = System.Half;
|
|
|
|
namespace DoomDeathmatch;
|
|
|
|
public struct QuadVertex : IVertex
|
|
{
|
|
[Vertex(VertexAttribType.Float, 2)]
|
|
public Vector2 Position2;
|
|
|
|
[Vertex(VertexAttribType.Float, 2)]
|
|
public Vector2 Position;
|
|
|
|
[Vertex(VertexAttribType.Float, 2)]
|
|
public Vector2 Position4;
|
|
|
|
[Vertex(VertexAttribType.Float, 2)]
|
|
public Vector2 Position3;
|
|
} |