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

Make renderstate a class #241

Open
no-lex opened this issue Feb 2, 2022 · 0 comments
Open

Make renderstate a class #241

no-lex opened this issue Feb 2, 2022 · 0 comments
Assignees
Labels
misimplementation Circumlocutious or redundant implementation

Comments

@no-lex
Copy link
Member

no-lex commented Feb 2, 2022

renderstate is a data-only structure used for carrying around rendering data. However, it has a large number of associated functions which essentially act as member variables. Moving them into the renderstate object makes it clear what their association is. It is defined in renderva.cpp, and all of its associated functions are also located there.

@no-lex no-lex added the misimplementation Circumlocutious or redundant implementation label Feb 2, 2022
@no-lex no-lex self-assigned this Feb 2, 2022
no-lex added a commit that referenced this issue Nov 6, 2022
no-lex added a commit that referenced this issue Nov 6, 2022
no-lex added a commit that referenced this issue Nov 13, 2022
no-lex added a commit that referenced this issue Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misimplementation Circumlocutious or redundant implementation
Projects
None yet
Development

No branches or pull requests

1 participant