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 Layer -> Element #70

Open
NGimbal opened this issue Apr 26, 2021 · 0 comments
Open

Refactor Layer -> Element #70

NGimbal opened this issue Apr 26, 2021 · 0 comments
Projects

Comments

@NGimbal
Copy link
Owner

NGimbal commented Apr 26, 2021

"Layer" terminology is unfortunate as Layer should actually refer to a higher layer of abstraction group of objects on a layer of the drawing. Element is the currently winning idea for what to call this. Other ideas are:
Leaf
Object
Item
DrawObject
Plane
DrawQuad
Glyph

I kind of like the Leaf idea but it is sort of obtuse. Glyph is nice but also a little too obtuse... maybe the most accurate. Although might become overloaded with font rendering in the future? Likely each character would be rendered on its own bounding quad? DrawQuad - what if I implement clipping at some point? Maybe it should be leaf or glyph...

@NGimbal NGimbal created this issue from a note in SDFUI (In Progress) Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
SDFUI
  
In Progress
Development

No branches or pull requests

1 participant