#include "../util/camera.h" #include "debug.h" Ray Camera::generate_ray(Vec2 screen_coord) const { // TODO (PathTracer): Task 1 // compute position of the input sensor sample coordinate on the // canonical sensor plane one unit away from the pinhole. // Tip: compute the ray direction in view space and use // the camera transform to transform it back into world space. return Ray(); }