コード例 #1
0
        /* 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();
        }
コード例 #2
0
 public override void OnRenderFrame(MasterRenderer masterRenderer)
 {
     masterRenderer.ProcessGraphicalAnalysis(this);
 }
コード例 #3
0
 public override void OnRenderFrame(MasterRenderer masterRenderer)
 {
     masterRenderer.ProcessFractal(mouseGLCoordinates, mouseWheelDelta, mandelbrot);
 }
コード例 #4
0
 //when the frame is rendered.
 public abstract void OnRenderFrame(MasterRenderer masterRenderer);
コード例 #5
0
 public override void OnRenderFrame(MasterRenderer masterRenderer)
 {
     Move(rotate);
     masterRenderer.ProcessDataSet(this);
 }