library: core: camera: fix documentation phrasing

This commit is contained in:
Bruno BELANYI 2020-03-29 19:32:44 +02:00
parent 9ad1100ded
commit 4593e276c4

View file

@ -10,9 +10,9 @@ use serde::Deserialize;
#[serde(from = "SerializedCamera")] #[serde(from = "SerializedCamera")]
#[derive(Debug, PartialEq, Deserialize)] #[derive(Debug, PartialEq, Deserialize)]
pub struct Camera { 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, 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, distance_to_image: f32,
/// The film to represent each pixel in the scene. /// The film to represent each pixel in the scene.
film: Film, film: Film,