Trait ncollide_procedural::path::StrokePattern
[−]
[src]
pub trait StrokePattern<P: Point> { fn stroke<C: CurveSampler<P>>(&mut self, sampler: &mut C) -> TriMesh<P>; }
A pattern that is replicated along a path.
It is responsible of the generation of the whole mesh.
Required Methods
fn stroke<C: CurveSampler<P>>(&mut self, sampler: &mut C) -> TriMesh<P>
Generates the mesh using this pattern and the curve sampled by sampler
.
Implementors
impl<N, C1, C2> StrokePattern<Pnt3<N>> for PolylinePattern<N, C1, C2> where N: Scalar, C1: PolylineCompatibleCap<N>, C2: PolylineCompatibleCap<N>