Brenta Engine 1.1
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 tex_coords
 

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.

◆ tex_coords

glm::vec2 brenta::types::vertex::tex_coords

Definition at line 57 of file mesh.hpp.


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