Skip to content

Commit e0ef281

Browse files
committed
Add struct field docs
1 parent 9520632 commit e0ef281

File tree

1 file changed

+2
-0
lines changed
  • crates/bevy_transform/src

1 file changed

+2
-0
lines changed

crates/bevy_transform/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ use prelude::{parent_update_system, Children, GlobalTransform, Parent, PreviousP
4444
/// before the [`GlobalTransform`] is updated.
4545
#[derive(Default, Bundle, Clone, Debug)]
4646
pub struct TransformBundle {
47+
/// The transform of the entity.
4748
pub local: Transform,
49+
/// The global transform of the entity.
4850
pub global: GlobalTransform,
4951
}
5052

0 commit comments

Comments
 (0)