2025-11-27 17:58:57 +00:00

22 lines
529 B
C#

using OpenTK.Mathematics;
namespace TheLabs;
public struct Vertex
{
public Vector3 Position;
public Vector3 Normal;
public Vector2 TexCoords;
public Vector3 Tangent;
public Vector3 Bitangent;
// A constructor to make creating them easy
public Vertex(Vector3 position, Vector3 normal, Vector2 texCoords, Vector3 tangent, Vector3 bitangent)
{
Position = position;
Normal = normal;
TexCoords = texCoords;
Tangent = tangent;
Bitangent = bitangent;
}
}