copy method

void copy(
  1. Capsule capsule
)

Implementation

void copy(Capsule capsule) {
  start.copy(capsule.start);
  end.copy(capsule.end);
  radius = capsule.radius;
}