smallpt 1.0.1

A small ray/pathtracer in Rust, inspired by Kevin Beason's educational 99-lines ray/pathtracer (http://www.kevinbeason.com/smallpt/)
Documentation
use crate::Vec3;

#[derive(Copy, Clone, Debug)]
pub struct Camera {
	pub origin: Vec3,
	pub forward: Vec3,
	pub right: Vec3,
	pub up: Vec3,
}

impl Camera {
	pub fn new(origin: Vec3, forward: Vec3, right: Vec3, up: Vec3) -> Camera {
		Camera {
			origin,
			forward,
			right,
			up,
		}
	}
}