From 2b4adacea3c76b8b33dc5f50d296dd4a61107c16 Mon Sep 17 00:00:00 2001 From: Julian T Date: Tue, 2 Feb 2021 20:39:32 +0100 Subject: Added documentation for many of the modules --- src/camera/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/camera/mod.rs') diff --git a/src/camera/mod.rs b/src/camera/mod.rs index 42de3b3..4865a36 100644 --- a/src/camera/mod.rs +++ b/src/camera/mod.rs @@ -1,2 +1,10 @@ +//! Implements how light is captured on film and how rays are generated +//! +//! The Film module specifies how calculated spectrum values contribute to the final image. +//! +//! The Camera class generated rays that can be cast into the scene. +//! This requires converting the film coordinates into real coordinates + pub mod film; //pub mod filter; +//pub mod camera; -- cgit v1.2.3