From 4593e276c4cd6d6c2fae44181812be00bb26c986 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 29 Mar 2020 19:32:44 +0200 Subject: [PATCH] library: core: camera: fix documentation phrasing --- pathtracer/src/core/camera.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pathtracer/src/core/camera.rs b/pathtracer/src/core/camera.rs index 8bc7f51..3fa91d6 100644 --- a/pathtracer/src/core/camera.rs +++ b/pathtracer/src/core/camera.rs @@ -10,9 +10,9 @@ use serde::Deserialize; #[serde(from = "SerializedCamera")] #[derive(Debug, PartialEq, Deserialize)] pub struct Camera { - /// Where the camera is set in the scene (i.e: its focal point). + /// Where the camera is set in the scene (i.e: the center of the lens). origin: Point, - /// How far away is the camera's plan of focus. + /// How far away is the camera's focal plane. distance_to_image: f32, /// The film to represent each pixel in the scene. film: Film,