Struct ncollide_procedural::path::NoCap [] [src]

pub struct NoCap;

A cap that renders nothing.

Methods

impl NoCap
[src]

fn new() -> NoCap

Creates a new NoCap.

Trait Implementations

impl<N: Scalar> PolylineCompatibleCap<N> for NoCap
[src]

fn gen_start_cap(&self, _: u32, _: &Polyline<Pnt3<N>>, _: &Pnt3<N>, _: &Vec3<N>, _: bool, _: &mut Vec<Pnt3<N>>, _: &mut Vec<Pnt3<u32>>)

Generates the mesh for the cap at the beginning of a path.

fn gen_end_cap(&self, _: u32, _: &Polyline<Pnt3<N>>, _: &Pnt3<N>, _: &Vec3<N>, _: bool, _: &mut Vec<Pnt3<N>>, _: &mut Vec<Pnt3<u32>>)

Generates the mesh for the cap at the end of a path.