From 25b7dad1c2da41a53e7377c9efd142383df232c1 Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Tue, 3 Dec 2019 19:01:48 -0800 Subject: [PATCH] update example --- examples/simple.rs | 47 +++++++++++++++++++++++++--------------------- src/application.rs | 2 +- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/examples/simple.rs b/examples/simple.rs index 7e0b53de10..8b55c5c86d 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -89,9 +89,9 @@ fn build_spawner_system(world: &mut World) -> Box { mesh_storage.get_named("cube").unwrap() }; - let duration = 1000000.0; + let duration = 10000.0; let mut elapsed = duration; - let batch_size = 1; + let batch_size = 5; SystemBuilder::new("Spawner") .read_resource::