Brenta Engine 1.0
Loading...
Searching...
No Matches
Brenta::Types::Vertex Struct Reference

The Vertex struct represents a vertex of a 3D model. More...

#include <mesh.hpp>

Data Fields

glm::vec3 Position
 
glm::vec3 Normal
 
glm::vec2 TexCoords
 

Detailed Description

The Vertex struct represents a vertex of a 3D model.

A vertex is a point in 3D space that has a position, a normal and texture coordinates.

Definition at line 53 of file mesh.hpp.

Field Documentation

◆ Normal

glm::vec3 Brenta::Types::Vertex::Normal

Definition at line 56 of file mesh.hpp.

◆ Position

glm::vec3 Brenta::Types::Vertex::Position

Definition at line 55 of file mesh.hpp.

◆ TexCoords

glm::vec2 Brenta::Types::Vertex::TexCoords

Definition at line 57 of file mesh.hpp.


The documentation for this struct was generated from the following file: