Nova-Committee / Re-Avaritia

MIT License
16 stars 14 forks source link

Clean Code #75

Open NOBTG opened 1 month ago

NOBTG commented 1 month ago

清理部分Code,对于不需要被继承的一般类加上final属性,修正部分注释,删除多余的空行,长switch更换,更换AvaritiaShader当中使用RenderStateShard的protected的字段为RenderStateShardAccess的private字段,增加RenderStateShardAccess内部类。 Clean up part of the Code, add final attributes to general classes that do not need to be inherited, correct some comments, delete redundant blank lines, replace long switches, replace the protected fields of RenderStateShard in AvaritiaShader with private fields of RenderStateShardAccess, and add the RenderStateShardAccess internal class .

Checks / 检查

Related Issues

Description

image image image

image TO image

image TO image

image

NOBTG commented 1 month ago

@cnlimiter

cnlimiter commented 1 month ago

冲突了