Chunk Struct Reference

Represents a sub-mesh, it contains local vertices and triangles. More...

Attributes

Vector3[] vertices
 Vertices are defined by a 3D point {x,y,z}. More...
 
int[] triangles
 Triangles (or faces) contains the index of its three vertices. It corresponds to the 3 vertices of the triangle {v1, v2, v3}. More...
 

Detailed Description

Represents a sub-mesh, it contains local vertices and triangles.

Variables

◆ vertices

Vector3 [] vertices

Vertices are defined by a 3D point {x,y,z}.

◆ triangles

int [] triangles

Triangles (or faces) contains the index of its three vertices. It corresponds to the 3 vertices of the triangle {v1, v2, v3}.