Function heron::rapier_plugin::rapier2d::parry::query::sat::segment_cuboid_find_local_separating_normal_oneway
source · pub fn segment_cuboid_find_local_separating_normal_oneway(
segment1: &Segment,
shape2: &Cuboid,
pos12: &Isometry<f32, Unit<Complex<f32>>, 2>
) -> (f32, Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>)
Expand description
Finds the best separating normal between a cuboid and a segment.
Only the normals of segment1
are tested.