ArcBetweenPoints constructor
ArcBetweenPoints({})
Implementation
ArcBetweenPoints({
required Vector3 start,
required Vector3 end,
double startAngle = 0,
double angle = TAU / 4,
double radius = 1,
Vector3 arcCenter = ORIGIN,
int numComponents = 9,
Color color = WHITE,
}) : super(
color: color,
startAngle: startAngle,
angle: angle,
radius: radius,
arcCenter: arcCenter,
numComponents: numComponents,
) {
if (angle == 0) {
setPointsAsCorners([LEFT, RIGHT]);
}
putStartAndEndOn(start, end);
}