mirror of
https://github.com/UOH-CS-Level5/551455-graphics-programming-2526-the-repo-Zyb3rWolfi.git
synced 2025-11-29 00:43:08 +00:00
22 lines
529 B
C#
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;
|
|
}
|
|
} |