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