mapbox-gl
Version:
A WebGL interactive maps library
17 lines (14 loc) • 500 B
JavaScript
// @flow
import {
LineIndexArray,
TriangleIndexArray,
LineStripIndexArray
} from './array_types';
/**
* An index array stores Uint16 indices of vertexes in a corresponding vertex array. We use
* three kinds of index arrays: arrays storing groups of three indices, forming triangles;
* arrays storing pairs of indices, forming line segments; and arrays storing single indices,
* forming a line strip.
* @private
*/
export {LineIndexArray, TriangleIndexArray, LineStripIndexArray};