Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moved CamRenderer into CamWnd.cpp since it is not used from anywhere else. - Removed the State local class; this is obsolete since CamRenderer no longer has a state stack. The two contained boolean members are just regular members of CamRenderer now. - Removed render() method which just called GlobalRenderSystem().render() with some stored members and additional method arguments. The calling code now calls this directly, allowing the render state flags and viewer members to be removed from CamRenderer entirely. - The shader parameters (for face and primitive highlighting) are received and stored as references, rather than shared pointers. This should be safe since the CamRenderer is not expected to outlive the global shader objects.
- Loading branch information
Matthew Mott
committed
Aug 25, 2020
1 parent
83627e5
commit 0c8d652
Showing
4 changed files
with
68 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters