BlankMat 0.1.0
Free open-source 3D texture creation application
Loading...
Searching...
No Matches
Vertex Struct Reference

Public Member Functions

 Vertex (const glm::vec3 &_pos=glm::vec3(), const glm::vec3 &_normal=glm::vec3(), const glm::vec2 &_texCoords=glm::vec2(), const glm::vec3 &_tangent=glm::vec3())
 

Public Attributes

glm::vec3 pos
 
glm::vec3 normal
 
glm::vec2 texCoords
 
glm::vec3 tangent
 

Constructor & Destructor Documentation

◆ Vertex()

Vertex::Vertex ( const glm::vec3 &  _pos = glm::vec3(),
const glm::vec3 &  _normal = glm::vec3(),
const glm::vec2 &  _texCoords = glm::vec2(),
const glm::vec3 &  _tangent = glm::vec3() 
)
inline

Member Data Documentation

◆ normal

glm::vec3 Vertex::normal

◆ pos

glm::vec3 Vertex::pos

◆ tangent

glm::vec3 Vertex::tangent

◆ texCoords

glm::vec2 Vertex::texCoords