CatmullRomSpline<T extends num>.noEndpoints constructor

const CatmullRomSpline<T extends num>.noEndpoints(
  1. T p1,
  2. T p2
)

Implementation

const CatmullRomSpline.noEndpoints(final T p1,final T p2) : _p0 = p1, _p1 = p1, _p2 = p2, _p3 = p2;