Trait parry3d::query::details::NormalConstraintsPair
source · pub trait NormalConstraintsPair {
// Required method
fn project_local_normals(
&self,
pos12: &Isometry<Real>,
normal1: &mut Vector<Real>,
normal2: &mut Vector<Real>
) -> bool;
}
Expand description
A pair of NormalConstraints
.
Required Methods§
sourcefn project_local_normals(
&self,
pos12: &Isometry<Real>,
normal1: &mut Vector<Real>,
normal2: &mut Vector<Real>
) -> bool
fn project_local_normals( &self, pos12: &Isometry<Real>, normal1: &mut Vector<Real>, normal2: &mut Vector<Real> ) -> bool
Applies the normal constraints to normal1
and normal2
.
This trait is mostly used internally to combine two NormalConstraints
conveniently.