示例#1
0
        // C O N S T R U C T O R S

        public RenderPipeline(Scene scene, int w, int h)
        {
            System.Drawing.Color.Black.ToArgb();
            this.scene = scene;
            screen     = new Screen(w, h);
            zBuffer    = new uint[screen.w * screen.h];
            rasterizer = new Rasterizer(this);
        }
示例#2
0
 // C O N S T R U C T O R S
 public RenderPipeline(Scene scene, int w, int h)
 {
     System.Drawing.Color.Black.ToArgb();
     this.scene = scene;
     screen = new Screen(w, h);
     zBuffer = new uint[screen.w * screen.h];
     rasterizer = new Rasterizer(this);
 }