project-imprimis / libprimis

Libprimis: Imprimis' 3D destroyable world engine
https://project-imprimis.github.io/libprimis/index.html
Other
29 stars 8 forks source link

Make `decalrenderer` a class #242

Closed no-lex closed 2 years ago

no-lex commented 2 years ago

The decalrenderer class is a data-only class in renderva.cpp that handles decal rendering information. It has a handful of related classes, also defined in renderva.cpp, that are tightly integrated with the class while being free functions. These should be integrated into the decalrenderer object, making a proper class structure.