copy method

  1. @override
CubicBezierCurve3 copy(
  1. Curve source
)
override

Copies another name object to this instance.

Implementation

@override
CubicBezierCurve3 copy(Curve source){
  assert(source is CubicBezierCurve3);
  super.copy(source);

  v0.setFrom( source.v0 );
  v1.setFrom( source.v1 );
  v2.setFrom( source.v2 );
  v3.setFrom( (source as CubicBezierCurve3).v3 );

  return this;
}