aboutsummaryrefslogtreecommitdiff
path: root/examples3d/compound3.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2020-09-28 10:58:35 +0200
committerGitHub <noreply@github.com>2020-09-28 10:58:35 +0200
commit90dffc59ed45e5b95c2a40699cb91d285a206e0e (patch)
treefa25c9c94bf4cd18a84f1a8c2bea327cd875af5f /examples3d/compound3.rs
parent3080c6e7d2e7bad0ac55095ccc24b1ac8bd5449a (diff)
parente7466e2f6923d24e987a34f8ebaf839346af8d4e (diff)
downloadrapier-90dffc59ed45e5b95c2a40699cb91d285a206e0e.tar.gz
rapier-90dffc59ed45e5b95c2a40699cb91d285a206e0e.tar.bz2
rapier-90dffc59ed45e5b95c2a40699cb91d285a206e0e.zip
Merge pull request #20 from dimforge/benchbot
Split benchmarks from examples
Diffstat (limited to 'examples3d/compound3.rs')
-rw-r--r--examples3d/compound3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3d/compound3.rs b/examples3d/compound3.rs
index a8a9939..34a654d 100644
--- a/examples3d/compound3.rs
+++ b/examples3d/compound3.rs
@@ -14,7 +14,7 @@ pub fn init_world(testbed: &mut Testbed) {
/*
* Ground
*/
- let ground_size = 200.1;
+ let ground_size = 50.0;
let ground_height = 0.1;
let rigid_body = RigidBodyBuilder::new_static()
@@ -37,7 +37,7 @@ pub fn init_world(testbed: &mut Testbed) {
let mut offset = -(num as f32) * (rad * 2.0 + rad) * 0.5;
- for j in 0usize..25 {
+ for j in 0usize..15 {
for i in 0..num {
for k in 0usize..num {
let x = i as f32 * shift * 5.0 - centerx + offset;