From 5ea612ef960faf61d9aaa39e42a91eb08462a168 Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Sat, 20 Oct 2018 11:37:22 +0200 Subject: [PATCH] Remove mention to the eye and target on the unit quaternion look_at_* methods. --- src/geometry/rotation_specialization.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/geometry/rotation_specialization.rs b/src/geometry/rotation_specialization.rs index 46a9627a..bdd8212f 100644 --- a/src/geometry/rotation_specialization.rs +++ b/src/geometry/rotation_specialization.rs @@ -247,8 +247,7 @@ impl Rotation3 { /// graphics community. /// /// # Arguments - /// * eye - The eye position. - /// * target - The target position. + /// * dir - The direction toward which the camera looks. /// * up - A vector approximately aligned with required the vertical axis. The only /// requirement of this parameter is to not be collinear to `target - eye`. #[inline] @@ -266,8 +265,7 @@ impl Rotation3 { /// graphics community. /// /// # Arguments - /// * eye - The eye position. - /// * target - The target position. + /// * dir - The direction toward which the camera looks. /// * up - A vector approximately aligned with required the vertical axis. The only /// requirement of this parameter is to not be collinear to `target - eye`. #[inline]