raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
camera.h File Reference
#include <cstdint>
#include <nlohmann/json.hpp>
#include "common/util/vec3.h"
Include dependency graph for camera.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  raytracer::raytracer::Pixel
class  raytracer::raytracer::Camera
class  raytracer::raytracer::CameraBuilder

Namespaces

namespace  raytracer
namespace  raytracer::raytracer

Enumerations

enum class  raytracer::raytracer::ViewType : uint8_t { raytracer::raytracer::ORTHOGRAPHIC , raytracer::raytracer::PERSPECTIVE }

Functions

 raytracer::raytracer::NLOHMANN_JSON_SERIALIZE_ENUM (ViewType, {{ViewType::ORTHOGRAPHIC, "orthographic"}, {ViewType::PERSPECTIVE, "perspective"}}) struct Ray