remove debug outputs

This commit is contained in:
Shuo Feng 2024-02-01 18:55:41 -05:00
parent 1cd5d9e99a
commit 2d18bab382
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1

View file

@ -2,7 +2,6 @@
#include "../external/simpleppm.h"
#include "Scene.h"
#include <iostream>
#include <vector>
RayTracer::RayTracer(nlohmann::json json)
@ -16,9 +15,4 @@ void RayTracer::render() {
save_ppm(scene.getName(), buffer, width, height);
}
void RayTracer::run() {
std::cout << scene.getName() << std::endl
<< scene.getWidth() << " " << scene.getHeight() << std::endl;
render();
}
void RayTracer::run() { render(); }