ncollide3d/procedural/path/
no_cap.rsuse crate::procedural::path::PolylineCompatibleCap;
use na::{Point3, Vector3};
use simba::scalar::RealField;
pub struct NoCap;
impl NoCap {
#[inline]
pub fn new() -> NoCap {
NoCap
}
}
impl<N: RealField + Copy> PolylineCompatibleCap<N> for NoCap {
fn gen_start_cap(
&self,
_: u32,
_: &[Point3<N>],
_: &Point3<N>,
_: &Vector3<N>,
_: bool,
_: &mut Vec<Point3<N>>,
_: &mut Vec<Point3<u32>>,
) {
}
fn gen_end_cap(
&self,
_: u32,
_: &[Point3<N>],
_: &Point3<N>,
_: &Vector3<N>,
_: bool,
_: &mut Vec<Point3<N>>,
_: &mut Vec<Point3<u32>>,
) {
}
}