cleanup Engine.java

This commit is contained in:
Antoine
2021-05-19 03:35:23 +02:00
parent e78b680389
commit 58e94314cc
3 changed files with 38 additions and 32 deletions

View File

@ -51,6 +51,7 @@ public class ObjectGl {
public void render(){
this.shader.enable();
this.shader.setUniformMat4f("transform", this.transform);
this.vertexArray.render();
this.shader.disable();
}