fix(input): grab issues

This commit is contained in:
Nova
2023-01-15 04:04:09 -05:00
parent cf840da444
commit a950ad59f1
3 changed files with 56 additions and 29 deletions

View File

@@ -268,6 +268,11 @@ impl Spatial {
.unwrap_or(f32::MAX)
}
}
impl PartialEq for Spatial {
fn eq(&self, other: &Self) -> bool {
self.uid == other.uid
}
}
impl Debug for Spatial {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("Spatial")