mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
rust fmt
This commit is contained in:
@@ -105,8 +105,11 @@ fn main() {
|
||||
let orbit_radius = orbit_radius.unwrap_or(8.0);
|
||||
|
||||
if orbit {
|
||||
app.insert_resource(OrbitSettings { radius: orbit_radius, speed: orbit_speed})
|
||||
.add_systems(Update, orbit_scene);
|
||||
app.insert_resource(OrbitSettings {
|
||||
radius: orbit_radius,
|
||||
speed: orbit_speed,
|
||||
})
|
||||
.add_systems(Update, orbit_scene);
|
||||
}
|
||||
|
||||
app
|
||||
@@ -169,7 +172,7 @@ fn main() {
|
||||
#[derive(Resource)]
|
||||
struct OrbitSettings {
|
||||
radius: f32,
|
||||
speed : f32
|
||||
speed: f32,
|
||||
}
|
||||
|
||||
fn orbit_scene(
|
||||
|
||||
Reference in New Issue
Block a user