Created
November 20, 2014 19:35
-
-
Save XMPPwocky/a868b36fe8eb64079b31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let b = ncollide::shape::Ball::new(0.5f32); | |
let m1 = na::Iso3::new(na::zero(), na::zero()); | |
let m2 = na::Iso3::new(na::Vec3::new(0.0, 10.0, 0.0), na::zero()); | |
let cast = ncollide::geometry::time_of_impact_internal::shape_against_shape(&m1, &na::Vec3::new(0.0, 10.0, 0.0), &b, | |
&m2, &na::zero(), &b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment