wip mania pp update
This commit is contained in:
@@ -44,14 +44,6 @@ impl HitObject {
|
||||
pub fn is_spinner(&self) -> bool {
|
||||
matches!(self.kind, HitObjectKind::Spinner { .. })
|
||||
}
|
||||
|
||||
/// The column of this node for osu!mania
|
||||
#[inline]
|
||||
pub fn column(&self, total_columns: f32) -> u8 {
|
||||
let x_divisor = 512.0 / total_columns;
|
||||
|
||||
(self.pos.x / x_divisor).floor().min(total_columns - 1.0) as u8
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialOrd for HitObject {
|
||||
|
||||
Reference in New Issue
Block a user