Finality Engine
Loading...
Searching...
No Matches
FINALITY::Vertex Struct Reference

#include <Mesh.h>

Public Attributes

glm::vec3 Position
glm::vec3 Color
glm::vec2 TexCoord
glm::vec3 Normal {0.0f, 1.0f, 0.0f}
glm::vec4 Tangent {1.0f, 0.0f, 0.0f, 1.0f}

Detailed Description

Todo
TODO: Document Vertex struct semantics, ownership and usage.

Definition at line 18 of file Mesh.h.

Member Data Documentation

◆ Position

glm::vec3 FINALITY::Vertex::Position

Definition at line 20 of file Mesh.h.

◆ Color

glm::vec3 FINALITY::Vertex::Color

Definition at line 21 of file Mesh.h.

◆ TexCoord

glm::vec2 FINALITY::Vertex::TexCoord

Definition at line 22 of file Mesh.h.

◆ Normal

glm::vec3 FINALITY::Vertex::Normal {0.0f, 1.0f, 0.0f}

Definition at line 23 of file Mesh.h.

◆ Tangent

glm::vec4 FINALITY::Vertex::Tangent {1.0f, 0.0f, 0.0f, 1.0f}

Definition at line 24 of file Mesh.h.


The documentation for this struct was generated from the following file:
  • FinalityEngine/src/Core/Mesh.h