#ifndef E_CAMERA_HPP #define E_CAMERA_HPP #include #include #include #include "sampler.hpp" #include "scene.hpp" struct scene; struct camera{ Eigen::Vector3f pos; Eigen::Vector3f look_at; Eigen::Vector3f up; std::vector get_image(const scene& sc, size_t n, sampler rng)const; camera(const Eigen::Vector3f& loc, const Eigen::Vector3f& look, const Eigen::Vector3f& u); }; #endif