public Raytracing( Canvas canvas, Scene scene, V3 cameraPos, int maxDepth ) : base(canvas, scene, cameraPos) { MaxDepth = maxDepth; }
public Raycasting(Canvas canvas, Scene scene, V3 cameraPos) : base(canvas, scene, cameraPos) { }
public ZBuffer(Canvas canvas, Scene scene) : base(canvas, scene) { Data = new float[Canvas.Width,Canvas.Height]; clear(); }
public Renderer(Canvas canvas, Scene scene) { Canvas = canvas; Scene = scene; }