Skip to content

Commit

Permalink
Fix test and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
djeedai committed Oct 30, 2024
1 parent adf4f77 commit f871cce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/ribbon.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Uses with_ribbons to draw a "tracer" or a "trail" following an Entity.
//! The movement of the head particle is achieved by linking the particle position to a CPU position using a [Property] in [move_head].
//! The movement of the head particle is achieved by linking the particle
//! position to a CPU position using a [Property] in [move_head].

use bevy::math::vec4;
use bevy::prelude::*;
Expand Down
4 changes: 2 additions & 2 deletions src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1087,8 +1087,8 @@ mod tests {
],
init: [
Spawner((
num_particles: Single(30.0),
spawn_time: Single(1.0),
count: Single(30.0),
spawn_duration: Single(1.0),
period: Single(1.0),
starts_active: true,
starts_immediately: true,
Expand Down
2 changes: 1 addition & 1 deletion src/spawn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ impl Spawner {

Self {
count,
spawn_duration: spawn_duration,
spawn_duration,
period,
starts_active: true,
starts_immediately: true,
Expand Down

0 comments on commit f871cce

Please sign in to comment.