public SimpleRenderer(int width, int height) { this.data = new CornellBoxSceneData(width, height); this.intersectionFinder = new IntersectionFinder(data.Triangles); this.width = width; this.height = height; }
public PathtracingNEE(int width, int height) { this.data = new CornellBoxSceneData(width, height); this.intersectionFinder = new IntersectionFinder(data.Triangles); this.width = width; this.height = height; }