My Project
Loading...
Searching...
No Matches
Vertex Struct Reference

Structure representing a simple vertex. Contains position, normal, and texture coordinates. More...

#include <MeshAsset.hpp>

Public Attributes

Maths::Vec3f position
 Position of the vertex in 3D space.
Maths::Vec3f normal
 Normal vector for lighting calculations.
Maths::Vec2f uv
 Texture coordinates (UV).

Detailed Description

Structure representing a simple vertex. Contains position, normal, and texture coordinates.

Member Data Documentation

◆ normal

Maths::Vec3f Vertex::normal

Normal vector for lighting calculations.

◆ position

Maths::Vec3f Vertex::position

Position of the vertex in 3D space.

◆ uv

Maths::Vec2f Vertex::uv

Texture coordinates (UV).


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