static GuiRenderer() { var rawQuad = new RawQuad(new float[] { -1, 1, -1, -1, 1, 1, 1, -1 }); GUIquad = GraphicsManager.loadModelToVAO(new List <RawQuad> { rawQuad }, 2); }
public GuiItemModel(ShaderProgram shader) { this.shader = shader; var rawQuad = new RawQuad(new float[] { -1, 1, -1, -1, 1, -1, 1, 1 }, new float[] { 0, 0, 1, 0, 1, 1, 0, 1 }); rawModel = GraphicsManager.loadModelToVAO(new List <RawQuad> { rawQuad }, 2); }