mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-30 21:18:11 -06:00
style: fmt (blank line before point_segment_dist)
This commit is contained in:
@@ -1962,7 +1962,6 @@ fn to_straight(n: Point, angle: f64, frame: &Frame) -> Point {
|
||||
Point::new(r.x / w, r.y / h)
|
||||
}
|
||||
|
||||
|
||||
/// How far `q` is from the segment `a`–`b` (screen pixels): the click that selects a guide.
|
||||
fn point_segment_dist(q: Pos2, a: Pos2, b: Pos2) -> f32 {
|
||||
let ab = b - a;
|
||||
|
||||
Reference in New Issue
Block a user