Skip to content

Commit 8b2fcfd

Browse files
authored
Change major radius to axis (#914)
Replaces `major_radius` with `major_axis`. `major_radius` is equivalent to `major_axis = [major_radius, 0]`.
1 parent e8bca89 commit 8b2fcfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modeling-cmds/src/shared.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,9 @@ pub enum PathSegment {
344344
Ellipse {
345345
/// The center point of the ellipse.
346346
center: Point2d<LengthUnit>,
347-
/// Major radius of the ellipse (along the x axis).
348-
major_radius: LengthUnit,
349-
/// Minor radius of the ellipse (along the y axis).
347+
/// Major axis of the ellipse.
348+
major_axis: Point2d<LengthUnit>,
349+
/// Minor radius of the ellipse.
350350
minor_radius: LengthUnit,
351351
/// Start of the path along the perimeter of the ellipse.
352352
start_angle: Angle,

0 commit comments

Comments
 (0)