You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic!("Duplicate quadtree updating system added:\n<{}>\n<{}>\nThey have the same collision shape, merge them into one or use `ID` type parameter of shape.", std::any::type_name::<[<P $i>]>(), dup);
252
+
panic!("Duplicate quadtree updating system added:\n<{}>\n<{}>\nThey have the same collision shape, merge them into one or use `ID` type parameter of shape.",dup,std::any::type_name::<[<P $i>]>());
panic!("Duplicate gizmos box updating system added:\n<{}>\n<{}>\nThey have the same collision shape, merge them into one or use `ID` type parameter of shape.", std::any::type_name::<[<P $i>]>(), dup);
266
+
panic!("Duplicate gizmos box updating system added:\n<{}>\n<{}>\nThey have the same collision shape, merge them into one or use `ID` type parameter of shape.",dup,std::any::type_name::<[<P $i>]>());
Copy file name to clipboardExpand all lines: bevy_quadtree/src/shape/mod.rs
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,8 @@
1
-
//! Shapes able to be used in Collision Detection
1
+
//! Shapes able to be used in Collision Detection.
2
+
//!
3
+
//! The `ID` of shapes is used to distinguish the same shape following different transforms, having nothing to do with the `ID` of the [`QuadTree`](crate::QuadTree).
4
+
//!
5
+
//! The `ID` of the `QuadTree` is used to distinguish different `QuadTree`s in the `World`, which is determined by the `ID` of [`QuadTreePlugin`](crate::QuadTreePlugin).
0 commit comments