mapbox-gl
Version:
A WebGL interactive maps library
13 lines (9 loc) • 368 B
JavaScript
// @flow
import {createLayout} from '../../util/struct_array.js';
export const fillExtrusionAttributes = createLayout([
{name: 'a_pos_normal_ed', components: 4, type: 'Int16'}
]);
export const centroidAttributes = createLayout([
{name: 'a_centroid_pos', components: 2, type: 'Uint16'}
]);
export const {members, size, alignment} = fillExtrusionAttributes;