add RayTracer class

This commit is contained in:
Shuo Feng 2024-02-01 16:05:44 -05:00
parent 98f1cc82d4
commit f17bf228aa
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
2 changed files with 17 additions and 0 deletions

5
src/RayTracer.cc Normal file
View file

@ -0,0 +1,5 @@
#include "RayTracer.h"
RayTracer::RayTracer(nlohmann::json scene) {}
void RayTracer::run() {}

12
src/RayTracer.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef RAY_TRACER_H_
#define RAY_TRACER_H_
#include "../external/json.hpp"
class RayTracer {
public:
RayTracer(nlohmann::json);
void run();
};
#endif // !RAY_TRACER_H_