diff --git a/nalgebra-glm/src/ext/matrix_clip_space.rs b/nalgebra-glm/src/ext/matrix_clip_space.rs index 260c5196..5ee725ae 100644 --- a/nalgebra-glm/src/ext/matrix_clip_space.rs +++ b/nalgebra-glm/src/ext/matrix_clip_space.rs @@ -530,7 +530,7 @@ pub fn perspective_lh_no(aspect: N, fovy: N, near: N, far: N) -> T ); assert!( !relative_eq!(aspect, N::zero()), - "The apsect ratio must not be zero." + "The aspect ratio must not be zero." ); let one = N::one(); @@ -566,7 +566,7 @@ pub fn perspective_lh_zo(aspect: N, fovy: N, near: N, far: N) -> T ); assert!( !relative_eq!(aspect, N::zero()), - "The apsect ratio must not be zero." + "The aspect ratio must not be zero." ); let one = N::one(); @@ -632,7 +632,7 @@ pub fn perspective_rh_no(aspect: N, fovy: N, near: N, far: N) -> T ); assert!( !relative_eq!(aspect, N::zero()), - "The apsect ratio must not be zero." + "The aspect ratio must not be zero." ); let negone = -N::one(); @@ -669,7 +669,7 @@ pub fn perspective_rh_zo(aspect: N, fovy: N, near: N, far: N) -> T ); assert!( !relative_eq!(aspect, N::zero()), - "The apsect ratio must not be zero." + "The aspect ratio must not be zero." ); let negone = -N::one(); diff --git a/src/geometry/orthographic.rs b/src/geometry/orthographic.rs index a7d5372f..c9bc76e6 100644 --- a/src/geometry/orthographic.rs +++ b/src/geometry/orthographic.rs @@ -151,7 +151,7 @@ impl Orthographic3 { ); assert!( !relative_eq!(aspect, N::zero()), - "The apsect ratio must not be zero." + "The aspect ratio must not be zero." ); let half: N = crate::convert(0.5); diff --git a/src/geometry/perspective.rs b/src/geometry/perspective.rs index 325a450c..ed7649fd 100644 --- a/src/geometry/perspective.rs +++ b/src/geometry/perspective.rs @@ -75,7 +75,7 @@ impl Perspective3 { ); assert!( !relative_eq!(aspect, N::zero()), - "The apsect ratio must not be zero." + "The aspect ratio must not be zero." ); let matrix = Matrix4::identity();