We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b3d8aa commit e47a879Copy full SHA for e47a879
1 file changed
src/lines.rs
@@ -71,7 +71,7 @@ pub fn possible_lines(
71
return vec![vec![(from, a), (a, to)], vec![(from, b), (b, to)]];
72
}
73
74
- return vec![vec![(from, b), (b, to)], vec![(from, a), (a, to)]];
+ vec![vec![(from, b), (b, to)], vec![(from, a), (a, to)]]
75
76
77
pub fn distance_on_path(start: Vec2, point: Vec2, segments: &[(Vec2, Vec2)]) -> Option<f32> {
0 commit comments