Kohi Game Engine
vertex_2d Struct Reference

Represents a single vertex in 2D space. More...

#include <math_types.h>

Data Fields

vec2 position
 The position of the vertex. More...
 
vec2 texcoord
 The texture coordinate of the vertex. More...
 

Detailed Description

Represents a single vertex in 2D space.

Field Documentation

◆ position

vec2 position

The position of the vertex.

◆ texcoord

vec2 texcoord

The texture coordinate of the vertex.


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