Kohi Game Engine
vertex_3d Struct Reference

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

#include <math_types.h>

Data Fields

vec3 position
 The position of the vertex. More...
 
vec3 normal
 The normal of the vertex. More...
 
vec2 texcoord
 The texture coordinate of the vertex. More...
 
vec4 colour
 The colour of the vertex. More...
 
vec3 tangent
 The tangent of the vertex. More...
 

Detailed Description

Represents a single vertex in 3D space.

Field Documentation

◆ colour

vec4 colour

The colour of the vertex.

◆ normal

vec3 normal

The normal of the vertex.

◆ position

vec3 position

The position of the vertex.

◆ tangent

vec3 tangent

The tangent of the vertex.

◆ texcoord

vec2 texcoord

The texture coordinate of the vertex.


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