blob: 6e9962cffce73eac864fefacab87076b4da2d758 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CONFIG_H
#define CONFIG_H
#include <render.hpp>
class Config {
public:
unsigned m_width, m_height;
unsigned m_maxhops, m_samples;
unsigned m_framerate, m_workers;
};
class RendererConf : public Renderer {
public:
RendererConf(const Scene &scn, Vec3d eye, Vec3d target, Config &conf)
: Renderer(scn, eye, target, conf.m_width, conf.m_height, conf.m_maxhops) {
}
};
#endif
|