MySchoolEngine / GLEngine

The goal of this repository is to build rendering focused game engine. Feel free to join me and extend this project.
https://myschoolengine.github.io/GLEngine-Documentation/
Other
21 stars 1 forks source link

PerformDeraw should get renderer as parameter #152

Open RohacekD opened 3 years ago

RohacekD commented 3 years ago

Is your feature request related to a problem? Please describe. I would like to limit usage of singletons. One of the most heavily used ones is application and renderer. By dependency injecting it onto the graphics components I should make huge step towards deleting renderer singleton.

Describe the solution you'd like Start from graphics component. There should also be a bit of refactoring along the way.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context This also could lead toward testing of whole code base. #26