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