raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
scene.h
Go to the documentation of this file.
1#pragma once
2#include <nlohmann/json.hpp>
3#include "common/util/point.h"
4
6{
7using json = nlohmann::json;
8
22
23NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(MandelbrotSceneConfig, center, width, aspect_ratio, zoom, max_iterations,
24 escape_boundary_squared, output_path);
25
39
40} // namespace raytracer::mandelbrot
Definition mandelbrot.cpp:14
nlohmann::json json
Definition scene.h:7
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(MandelbrotSceneConfig, center, width, aspect_ratio, zoom, max_iterations, escape_boundary_squared, output_path)
Definition point.h:7
double aspect_ratio
Definition scene.h:16
common::Point center
Definition scene.h:14
std::string output_path
Definition scene.h:20
int escape_boundary_squared
Definition scene.h:19
common::Point center
Definition scene.h:37
double bottom
Definition scene.h:33