Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor symbol buffer related types #5903

Merged
merged 2 commits into from Dec 29, 2017
Merged

Conversation

jfirebaugh
Copy link
Contributor

Better to have a separate CollisionBuffers type, rather than trying to shoehorn those duties into SymbolBuffers.

@@ -292,12 +292,11 @@ function addTextVertices(bucket: SymbolBucket,
writingMode,
anchor,
lineArray.lineStartIndex,
lineArray.lineLength,
bucket.placedGlyphArray);
lineArray.lineLength);

// The placedGlyphArray is used at render time in drawTileSymbols
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment needs updating.

Copy link
Contributor

@ChrisLoer ChrisLoer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from the comment nit, looks great!

@jfirebaugh jfirebaugh merged commit 73c6d6b into master Dec 29, 2017
@jfirebaugh jfirebaugh deleted the symbol-collision-buffers branch December 29, 2017 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants