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

[Topic] Differences between Segment/LineSegment/LineStrip/LineLoop #65

Open
ricardomatias opened this issue Feb 10, 2021 · 2 comments
Open

Comments

@ricardomatias
Copy link
Member

An explanation on how they differ from each other or in which circumstances to use one or the other.

@jbellis
Copy link

jbellis commented Sep 29, 2021

also voting for this please!

@jbellis
Copy link

jbellis commented Sep 29, 2021

From Slack:

  • lineStrip is for a polyline where you pass in the vertices of that polyline
  • lineLoop is for a closed polyline
  • lineSegments is to batch draw multiple line segments

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

No branches or pull requests

2 participants