diff --git a/src/core/construction.rs b/src/core/construction.rs index bf7f64dd..fa3854cc 100644 --- a/src/core/construction.rs +++ b/src/core/construction.rs @@ -114,7 +114,7 @@ where res } - /// Creates a new indentity matrix. + /// Creates a new identity matrix. /// /// If the matrix is not square, the largest square submatrix starting at index `(0, 0)` is set /// to the identity matrix. All other entries are set to zero. diff --git a/src/geometry/quaternion_construction.rs b/src/geometry/quaternion_construction.rs index 63aea8ea..e790925f 100644 --- a/src/geometry/quaternion_construction.rs +++ b/src/geometry/quaternion_construction.rs @@ -351,7 +351,7 @@ impl UnitQuaternion { /// Creates a new unit quaternion rotation from a rotation axis scaled by the rotation angle. /// - /// If `axisangle` has a magnitude smaller than `N::default_epsilon()`, this returns the indentity rotation. + /// If `axisangle` has a magnitude smaller than `N::default_epsilon()`, this returns the identity rotation. #[inline] pub fn new(axisangle: Vector) -> Self where @@ -364,7 +364,7 @@ impl UnitQuaternion { /// Creates a new unit quaternion rotation from a rotation axis scaled by the rotation angle. /// - /// If `axisangle` has a magnitude smaller than `eps`, this returns the indentity rotation. + /// If `axisangle` has a magnitude smaller than `eps`, this returns the identity rotation. #[inline] pub fn new_eps(axisangle: Vector, eps: N) -> Self where @@ -377,7 +377,7 @@ impl UnitQuaternion { /// Creates a new unit quaternion rotation from a rotation axis scaled by the rotation angle. /// - /// If `axisangle` has a magnitude smalle than `N::default_epsilon()`, this returns the indentity rotation. + /// If `axisangle` has a magnitude smaller than `N::default_epsilon()`, this returns the identity rotation. /// Same as `Self::new(axisangle)`. #[inline] pub fn from_scaled_axis(axisangle: Vector) -> Self @@ -389,7 +389,7 @@ impl UnitQuaternion { /// Creates a new unit quaternion rotation from a rotation axis scaled by the rotation angle. /// - /// If `axisangle` has a mangnitude smaller than `eps`, this returns the indentity rotation. + /// If `axisangle` has a magnitude smaller than `eps`, this returns the identity rotation. /// Same as `Self::new(axisangle)`. #[inline] pub fn from_scaled_axis_eps(axisangle: Vector, eps: N) -> Self