UNPKG

maplibre-gl

Version:

BSD licensed community fork of mapbox-gl, a WebGL interactive maps library

14 lines (10 loc) 398 B
import {createLayout} from '../../util/struct_array'; const layout = createLayout([ {name: 'a_pos', components: 2, type: 'Int16'}, {name: 'a_normal_ed', components: 4, type: 'Int16'}, ], 4); export const centroidAttributes = createLayout([ {name: 'a_centroid', components: 2, type: 'Int16'} ], 4); export default layout; export const {members, size, alignment} = layout;