/* EVENT METHODS */ //when the window starts. private void OnLoad(object sender, EventArgs e) { //initialize the things we need to render stuff: masterRenderer = new MasterRenderer(); loader = new Loader(); light = new Light(new Vector3(0, 0, -20), new Vector3(1, 1, 1)); camera = new Camera(); //LoadGraphicalAnalysis(); environments = GetScholarsDayEnvironments(); currentEnvironment = environments[13]; currentEnvironment.OnLoad(); }
public override void OnRenderFrame(MasterRenderer masterRenderer) { masterRenderer.ProcessGraphicalAnalysis(this); }
public override void OnRenderFrame(MasterRenderer masterRenderer) { masterRenderer.ProcessFractal(mouseGLCoordinates, mouseWheelDelta, mandelbrot); }
//when the frame is rendered. public abstract void OnRenderFrame(MasterRenderer masterRenderer);
public override void OnRenderFrame(MasterRenderer masterRenderer) { Move(rotate); masterRenderer.ProcessDataSet(this); }