We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 291b5c0 commit 5c92ee5Copy full SHA for 5c92ee5
src/geometry.rs
@@ -88,7 +88,7 @@ impl GeometryBuilder {
88
/// let mut builder = GeometryBuilder::new();
89
/// builder.add(&line).add(&rectangle);
90
///
91
- /// commands.spawn(builder.build(
+ /// commands.spawn_bundle(builder.build(
92
/// ShapeColors::new(Color::ORANGE_RED),
93
/// DrawMode::Fill(FillOptions::default()),
94
/// Transform::default(),
@@ -125,7 +125,7 @@ impl GeometryBuilder {
125
126
/// fn some_system(commands: &mut Commands) {
127
/// let line = shapes::Line(Vec2::ZERO, Vec2::new(10.0, 0.0));
128
- /// commands.spawn(GeometryBuilder::build_as(
+ /// commands.spawn_bundle(GeometryBuilder::build_as(
129
/// &line,
130
131
0 commit comments