mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-07 23:12:00 +00:00
delete unused codes
This commit is contained in:
parent
b510e1d4d0
commit
2efe817cd7
2 changed files with 0 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
||||||
#include "RayTracer.h"
|
#include "RayTracer.h"
|
||||||
#include "../external/simpleppm.h"
|
|
||||||
#include "HitRecord.h"
|
#include "HitRecord.h"
|
||||||
#include "Output.h"
|
#include "Output.h"
|
||||||
#include "Parser.h"
|
#include "Parser.h"
|
||||||
|
@ -76,11 +75,6 @@ void RayTracer::render() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RayTracer::output() {
|
|
||||||
for (auto output : outputs)
|
|
||||||
output->write();
|
|
||||||
}
|
|
||||||
|
|
||||||
void RayTracer::run() {
|
void RayTracer::run() {
|
||||||
parse();
|
parse();
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ private:
|
||||||
void parse();
|
void parse();
|
||||||
void calculateColor(const HitRecord &, int);
|
void calculateColor(const HitRecord &, int);
|
||||||
void render();
|
void render();
|
||||||
void output();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // !RAY_TRACER_H_
|
#endif // !RAY_TRACER_H_
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue