Skip to content

Commit 9598d4b

Browse files
docs(core): SpatialIndex index entities with the Spatial component (#743)
1 parent 171a23a commit 9598d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/spatial/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub struct SpatialModule;
2323

2424
#[derive(Component, Debug, Default)]
2525
pub struct SpatialIndex {
26-
/// The bounding boxes of all players
26+
/// The bounding boxes of all entities with the [`Spatial`] component
2727
query: bvh_region::Bvh<Entity>,
2828
}
2929

0 commit comments

Comments
 (0)