TinyRaytracer 0.1
A simple C++ raytracer
Loading...
Searching...
No Matches
keywords.hpp
Go to the documentation of this file.
1
11#ifndef KEYWORDS_H
12#define KEYWORDS_H
13#include "helper.hpp"
14#include "struct.hpp"
15#include "vec3.hpp"
16#include <string>
17#include <vector>
18
19//width and height of output image
20
21extern int width;
22extern int height;
23extern std::string filename;
24extern int bounces;
25extern int aa;
26extern int gi;
27extern double dof_focus;
28extern double dof_lens;
29extern vec3 forward;
30extern vec3 right;
31extern vec3 up;
32extern point3 eye;
33extern double expose;
34extern bool fisheye;
35extern bool panorama;
36extern std::string texture;
37//sphere: a vector of [x,y,z,r]
38extern shared_ptr<Object> bvh_head;
39extern std::vector<Sun> sun;
40extern std::vector<Bulb> bulbs;
41extern std::vector<Plane> planes;
42extern std::vector<Vertex> vertices;
43extern std::vector<Triangle> triangles;
44
45#endif
Definition: vec3.hpp:18