Skip to content

Commit 261e669

Browse files
Merge branch 'master' into 131-refcell-world
2 parents 20d475c + b19ef3b commit 261e669

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+133
-41
lines changed

examples2d/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ rand = "0.5"
88
alga = "0.7"
99
nalgebra = "0.16"
1010
ncollide2d = "0.17"
11+
env_logger = "0.5.12"
1112

1213
[dependencies.nphysics_testbed2d]
1314
path = "../nphysics_testbed2d"

examples2d/balls2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -13,6 +14,7 @@ use nphysics_testbed2d::Testbed;
1314
const COLLIDER_MARGIN: f32 = 0.01;
1415

1516
fn main() {
17+
env_logger::init();
1618
/*
1719
* World
1820
*/

examples2d/balls_vee2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -13,6 +14,7 @@ use nphysics_testbed2d::Testbed;
1314
const COLLIDER_MARGIN: f32 = 0.01;
1415

1516
fn main() {
17+
env_logger::init();
1618
let mut world = create_the_world();
1719
create_the_walls(&mut world);
1820
create_the_balls(&mut world);

examples2d/body_status2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -15,6 +16,7 @@ use nphysics_testbed2d::Testbed;
1516
const COLLIDER_MARGIN: f32 = 0.01;
1617

1718
fn main() {
19+
env_logger::init();
1820
/*
1921
* World
2022
*/

examples2d/boxes2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -13,6 +14,7 @@ use nphysics_testbed2d::Testbed;
1314
const COLLIDER_MARGIN: f32 = 0.01;
1415

1516
fn main() {
17+
env_logger::init();
1618
/*
1719
* World
1820
*/

examples2d/collision_groups2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -14,6 +15,7 @@ use nphysics_testbed2d::Testbed;
1415
const COLLIDER_MARGIN: f32 = 0.01;
1516

1617
fn main() {
18+
env_logger::init();
1719
let mut testbed = Testbed::new_empty();
1820

1921
/*

examples2d/compound2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -13,6 +14,7 @@ use nphysics_testbed2d::Testbed;
1314
const COLLIDER_MARGIN: f32 = 0.01;
1415

1516
fn main() {
17+
env_logger::init();
1618
/*
1719
* World
1820
*/

examples2d/constraints2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -14,6 +15,7 @@ use nphysics_testbed2d::Testbed;
1415
const COLLIDER_MARGIN: f32 = 0.01;
1516

1617
fn main() {
18+
env_logger::init();
1719
/*
1820
* World
1921
*/

examples2d/convex2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -16,6 +17,7 @@ use nphysics_testbed2d::Testbed;
1617
const COLLIDER_MARGIN: f32 = 0.01;
1718

1819
fn main() {
20+
env_logger::init();
1921
/*
2022
* World
2123
*/

examples2d/cross2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
extern crate env_logger;
12
extern crate nalgebra as na;
23
extern crate ncollide2d;
34
extern crate nphysics2d;
@@ -13,6 +14,7 @@ use nphysics_testbed2d::Testbed;
1314
const COLLIDER_MARGIN: f32 = 0.01;
1415

1516
fn main() {
17+
env_logger::init();
1618
/*
1719
* World
1820
*/

0 commit comments

Comments
 (0)