public void setCamera(Camera c) {if(c==null)return; this.camera = c;}
public void renderToBuffer(List<Model> models, Camera c) { renderToBuffer(this.mainFrameBuffer, models, c); }