mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-08-15 02:18:03 +00:00
remove debug outputs
This commit is contained in:
parent
1cd5d9e99a
commit
2d18bab382
1 changed files with 1 additions and 7 deletions
|
@ -2,7 +2,6 @@
|
||||||
#include "../external/simpleppm.h"
|
#include "../external/simpleppm.h"
|
||||||
#include "Scene.h"
|
#include "Scene.h"
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
RayTracer::RayTracer(nlohmann::json json)
|
RayTracer::RayTracer(nlohmann::json json)
|
||||||
|
@ -16,9 +15,4 @@ void RayTracer::render() {
|
||||||
save_ppm(scene.getName(), buffer, width, height);
|
save_ppm(scene.getName(), buffer, width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RayTracer::run() {
|
void RayTracer::run() { render(); }
|
||||||
std::cout << scene.getName() << std::endl
|
|
||||||
<< scene.getWidth() << " " << scene.getHeight() << std::endl;
|
|
||||||
|
|
||||||
render();
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue