You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to pull this into Espruino. Should be pretty straightforward, but we need to pack X and Y into 4 bits each. Probably use 0xFF or similar to denote 'end of poly'
The text was updated successfully, but these errors were encountered:
It's in now, using 0xFF. However if we use the first char to say how many verts are in the polygons then it'll be much faster to 'skip' to the relevant char, and there are extra bytes needed :)
From http://forum.espruino.com/conversations/347368/#comment15287238
Need to pull this into Espruino. Should be pretty straightforward, but we need to pack X and Y into 4 bits each. Probably use 0xFF or similar to denote 'end of poly'
The text was updated successfully, but these errors were encountered: