Struct Vertex

Struct Documentation

struct Vertex

Represents a vertex in 3D space with position, texture coordinates, and normal vector.

This structure is used to store the attributes of a vertex required for rendering in 3D graphics.

Public Members

glm::vec3 position
glm::vec2 texCoord
glm::vec3 normal

Friends

inline friend std::ostream &operator<<(std::ostream &os, const Vertex &v)