mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-21 12:42:45 +00:00
Rendering cleanup
Replaces the reflexive instantiation of the Renderes with a factory method. Some optimizations to the renderers to no longer push the whole OpenGL state to the stack. General cleanup of duplicate code, etc
This commit is contained in:
1 parent
824ec1eccb
commit
d5dfc31210
69 files changed
+435
-343
No files matched your search
@@ -56,7 +56,7 @@ public final class BusRenderHelper implements IPartRenderHelper
|
||||
|
||||
private final BoundBoxCalculator bbc;
|
||||
private final boolean noAlphaPass;
|
||||
private final BaseBlockRender bbr;
|
||||
private final BaseBlockRender<AEBaseBlock, AEBaseTile> bbr;
|
||||
private final Optional<Block> maybeBlock;
|
||||
private final Optional<AEBaseBlock> maybeBaseBlock;
|
||||
private int renderingForPass;
|
||||
|
||||
Reference in new issue
Block a user