Skip to content

TerrainMesh beta ​

Interface of @v12-engine/engine

ts
export interface TerrainMesh

A triangle mesh of the ground: vertex positions and the triangles' indices

Members ​

indices ​

ts
indices: Uint32Array;

Vertex indices, three to a triangle

positions ​

ts
positions: Float32Array;

Vertex positions as x, y, z triples