putStartAndEndOn method
Implementation
@override
void putStartAndEndOn(
Vector3 start,
Vector3 end,
) {
var currentStart = getStart();
var currentEnd = getEnd();
if (currentStart == currentEnd) {
this.start = start;
this.end = end;
generatePoints();
}
return super.putStartAndEndOn(
start,
end,
);
}