flat color work

This commit is contained in:
Stewart Allen 2020-11-13 13:52:35 -05:00
commit ec90480f84
6 changed files with 54 additions and 31 deletions

View file

@ -113,6 +113,7 @@
polys: encode(layer.polys, state),
lines: encodePointArray(layer.lines, state),
faces: codec.allocFloat32Array(layer.faces),
cface: layer.cface,
color: layer.color,
paths: layer.paths,
cpath: layer.cpath,
@ -130,6 +131,7 @@
cpoly: v.data[i].cpoly,
lines: decodePointArray(v.data[i].lines),
faces: v.data[i].faces,
cface: v.data[i].cface,
color: v.data[i].color,
paths: v.data[i].paths,
cpath: v.data[i].cpath,