CatmullRomSpline.noEndpoints constructor

const CatmullRomSpline.noEndpoints(
  1. double p1,
  2. double p2
)

Implementation

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