diff --git a/src/physics.rs b/src/physics.rs index ad277f4..9f2ce5f 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1685,4 +1685,13 @@ fn zoom_hit_nothing(){ Planar64Vec3::int(0,100,0), Time::ZERO ),None); +} +#[test] +fn already_inside_hit_nothing(){ + hit_the_ground(Body::new( + Planar64Vec3::int(10,5,10), + Planar64Vec3::int(10,0,0), + Planar64Vec3::int(0,100,0), + Time::ZERO + ),None); } \ No newline at end of file