Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::Mesh::Vertex Class Reference

Public Member Functions

 Vertex (glm::vec3 position)
 
 Vertex (glm::vec3 position, glm::vec3 normal, glm::vec2 tex_coords)
 

Data Fields

glm::vec3 position
 
glm::vec3 normal
 
glm::vec2 tex_coords
 

Detailed Description

Definition at line 96 of file mesh.hpp.

Constructor & Destructor Documentation

◆ Vertex() [1/2]

brenta::Mesh::Vertex::Vertex ( glm::vec3  position)
inline

Definition at line 105 of file mesh.hpp.

◆ Vertex() [2/2]

brenta::Mesh::Vertex::Vertex ( glm::vec3  position,
glm::vec3  normal,
glm::vec2  tex_coords 
)
inline

Definition at line 107 of file mesh.hpp.

Field Documentation

◆ normal

glm::vec3 brenta::Mesh::Vertex::normal

Definition at line 101 of file mesh.hpp.

◆ position

glm::vec3 brenta::Mesh::Vertex::position

Definition at line 100 of file mesh.hpp.

◆ tex_coords

glm::vec2 brenta::Mesh::Vertex::tex_coords

Definition at line 102 of file mesh.hpp.


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