Skip to content

Commit 87a42f8

Browse files
authored
Update quaternion.rs
1 parent f002a58 commit 87a42f8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

godot-core/src/builtin/quaternion.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,3 @@ impl Neg for Quaternion {
345345
Self::new(-self.x, -self.y, -self.z, -self.w)
346346
}
347347
}
348-
349-
impl std::fmt::Display for Quaternion {
350-
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
351-
// godot output be like:
352-
// `(x, y, z, w)`
353-
// enhanced with type hint `Quat`
354-
write!(f, "Quat({}, {}, {}, {})", self.x, self.y, self.z, self.w)
355-
}
356-
}

0 commit comments

Comments
 (0)