mapillary-js
Version:
A WebGL interactive street imagery library
18 lines (16 loc) • 398 B
text/typescript
/**
* Contract describing triangulated meshes.
*/
export interface MeshContract {
/**
* Flattened array of faces for the mesh. Each face consist
* three vertex indices.
*/
faces: number[];
/**
* Flattened array of vertices for the mesh. Each vertex
* consists of X, Y and Z coordinates in the camera
* reference frame.
*/
vertices: number[];
}