Merge pull request #1270 from waywardmonkeys/look-at-lh-is-left-handed

doc: Isometry's `look_at_lh` is left-handed.
This commit is contained in:
Sébastien Crozet 2023-09-30 18:21:48 +02:00 committed by GitHub
commit 804e606c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ macro_rules! look_at_isometry_construction_impl(
/// Builds a left-handed look-at view matrix. /// Builds a left-handed look-at view matrix.
/// ///
/// It maps the view direction `target - eye` to the **positive** `z` axis and the `eye` to the origin. /// It maps the view direction `target - eye` to the **positive** `z` axis and the `eye` to the origin.
/// This conforms to the common notion of right handed camera look-at **view matrix** from /// This conforms to the common notion of left handed camera look-at **view matrix** from
/// the computer graphics community, i.e. the camera is assumed to look toward its local `z` axis. /// the computer graphics community, i.e. the camera is assumed to look toward its local `z` axis.
/// ///
/// # Arguments /// # Arguments