make the render function private

This commit is contained in:
Shuo Feng 2024-02-08 16:43:41 -05:00
parent 1b0df92e70
commit 39c584eff9
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1

View file

@ -7,12 +7,12 @@
class RayTracer { class RayTracer {
public: public:
RayTracer(const nlohmann::json &); RayTracer(const nlohmann::json &);
void render();
void run(); void run();
private: private:
Scene scene; Scene scene;
nlohmann::json json; nlohmann::json json;
void render();
}; };
#endif // !RAY_TRACER_H_ #endif // !RAY_TRACER_H_