refactor mania hitwindows

This commit is contained in:
MaxOhn
2024-02-14 15:37:56 +01:00
parent 3f1b4e52a1
commit 0fdb91fa47
3 changed files with 14 additions and 38 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
pub trait FloatExt: Sized {
// Workaround since rust rounds ties away from 0.0
// while C# rounds them to the nearest even integer.
// See github
// - https://github.com/rust-lang/rust/issues/96710
// - https://github.com/rust-lang/rust/pull/82273
/// Workaround since rust rounds ties away from 0.0
/// while C# rounds them to the nearest even integer.
/// See github
/// - https://github.com/rust-lang/rust/issues/96710
/// - https://github.com/rust-lang/rust/pull/82273
fn round_even(self) -> Self;
/// `self == other`