Use parenthesis for exclusive lower bound

Changes `]0, pi]` to `(0, pi]`.

Replaces PR #1173 and resolves Issue #1164.
This commit is contained in:
Allan Zhang 2022-11-04 09:32:01 -04:00
parent fd644d914a
commit 20dbfbd6f9
3 changed files with 3 additions and 3 deletions

View File

@ -1323,7 +1323,7 @@ where
}
}
/// The rotation axis and angle in ]0, pi] of this unit quaternion.
/// The rotation axis and angle in (0, pi] of this unit quaternion.
///
/// Returns `None` if the angle is zero.
///

View File

@ -877,7 +877,7 @@ impl<T: SimdRealField> Rotation3<T> {
}
}
/// The rotation axis and angle in ]0, pi] of this rotation matrix.
/// The rotation axis and angle in (0, pi] of this rotation matrix.
///
/// Returns `None` if the angle is zero.
///

View File

@ -132,7 +132,7 @@ where
Vector1::new(self.angle())
}
/// The rotation axis and angle in ]0, pi] of this complex number.
/// The rotation axis and angle in (0, pi] of this complex number.
///
/// This is generally used in the context of generic programming. Using
/// the `.angle()` method instead is more common.