1 2 3 4 5 6 7 8 9
use super::super::super::box2d::common::math::*; use super::super::super::box2d::dynamics::world::*; impl Default for World { fn default() -> World { let gravity = Vec2::new(0.0, -10.0); World::new(&gravity) } }
1 2 3 4 5 6 7 8 9
use super::super::super::box2d::common::math::*; use super::super::super::box2d::dynamics::world::*; impl Default for World { fn default() -> World { let gravity = Vec2::new(0.0, -10.0); World::new(&gravity) } }