[core] Use separate attribute component for line normals

Selective cherry pick of 822df3dd51
This commit is contained in:
John Firebaugh
2017-08-10 11:47:31 -07:00
committed by Tobrun
parent c7d7319c77
commit 1188707dc3
8 changed files with 41 additions and 41 deletions

View File

@@ -19,7 +19,8 @@ constexpr float tileSize = 512;
*
* Positions are stored as signed 16bit integers.
* One bit is lost for signedness to support features extending past the left edge of the tile.
* One bit is lost because the line vertex buffer packs 1 bit of other data into the int.
* One bit is lost because the line vertex buffer used to pack 1 bit of other data into the int.
* This is no longer the case but we're reserving this bit anyway.
* One bit is lost to support features extending past the extent on the right edge of the tile.
* This leaves us with 2^13 = 8192
*/