refactor
This commit is contained in:
@@ -49,9 +49,9 @@ public class Renderer {
|
||||
|
||||
public void Render(Camera cam) {
|
||||
this.boardShader.Start();
|
||||
this.boardShader.SetCamMatrix(cam.getMatrix());
|
||||
this.boardShader.SetCamMatrix(cam);
|
||||
this.pieceShader.Start();
|
||||
this.pieceShader.SetCamMatrix(cam.getMatrix());
|
||||
this.pieceShader.SetCamMatrix(cam);
|
||||
RenderVao(this.boardShader, this.boardVao);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user