Kohi Game Engine
skinned_vertex_3d Struct Reference

Represents a single skinned 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...
 
vec4 tangent
 The tangent of the vertex. More...
 
ivec4 bone_ids
 Bone indices that will influence this index. -1 means no bone. More...
 
vec4 weights
 Weights from each bone that will influence this index. More...
 

Detailed Description

Represents a single skinned vertex in 3D space.

Field Documentation

◆ bone_ids

ivec4 bone_ids

Bone indices that will influence this index. -1 means no bone.

◆ 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

vec4 tangent

The tangent of the vertex.

◆ texcoord

vec2 texcoord

The texture coordinate of the vertex.

◆ weights

vec4 weights

Weights from each bone that will influence this index.


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