copy method
Copies another name
object to this instance.
Implementation
@override
CatmullRomCurve3 copy(Curve source) {
if(source is CatmullRomCurve3){
super.copy(source);
points = [];
for (int i = 0, l = source.points.length; i < l; i++) {
final point = source.points[i];
points.add(point.clone());
}
closed = source.closed;
curveType = source.curveType;
tension = source.tension;
}
return this;
}