Trait heron::rapier_plugin::rapier::ncollide::procedural::path::PolylineCompatibleCap[][src]

pub trait PolylineCompatibleCap<N> where
    N: RealField
{ pub fn gen_start_cap(
        &self,
        attach_id: u32,
        pattern: &[Point<N, U3>],
        pt: &Point<N, U3>,
        dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
        closed: bool,
        coords: &mut Vec<Point<N, U3>, Global>,
        indices: &mut Vec<Point<u32, U3>, Global>
    );
pub fn gen_end_cap(
        &self,
        attach_id: u32,
        pattern: &[Point<N, U3>],
        pt: &Point<N, U3>,
        dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
        closed: bool,
        coords: &mut Vec<Point<N, U3>, Global>,
        indices: &mut Vec<Point<u32, U3>, Global>
    ); }

Trait to be implemented by caps compatible with a PolylinePattern.

Required methods

pub fn gen_start_cap(
    &self,
    attach_id: u32,
    pattern: &[Point<N, U3>],
    pt: &Point<N, U3>,
    dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
    closed: bool,
    coords: &mut Vec<Point<N, U3>, Global>,
    indices: &mut Vec<Point<u32, U3>, Global>
)
[src]

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

pub fn gen_end_cap(
    &self,
    attach_id: u32,
    pattern: &[Point<N, U3>],
    pt: &Point<N, U3>,
    dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
    closed: bool,
    coords: &mut Vec<Point<N, U3>, Global>,
    indices: &mut Vec<Point<u32, U3>, Global>
)
[src]

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

Loading content...

Implementors

impl<N> PolylineCompatibleCap<N> for ArrowheadCap<N> where
    N: RealField
[src]

impl<N> PolylineCompatibleCap<N> for NoCap where
    N: RealField
[src]

Loading content...