From 71911795800d7a595beb60a7aecb28087ef1ca84 Mon Sep 17 00:00:00 2001 From: Brian Schwind Date: Tue, 26 Dec 2023 23:21:56 +0900 Subject: [PATCH] Add a small comment --- crates/opencascade/src/kicad.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/opencascade/src/kicad.rs b/crates/opencascade/src/kicad.rs index 5e067f33..eff7d095 100644 --- a/crates/opencascade/src/kicad.rs +++ b/crates/opencascade/src/kicad.rs @@ -69,6 +69,7 @@ impl KicadPcb { pub fn layer_edges<'a>(&'a self, layer: &'a BoardLayer) -> impl Iterator + '_ { let footprint_edges = self.board.footprints().flat_map(|footprint| { let angle = footprint.rotation_degrees.degrees(); + // TODO(bschwind) - Document why a negative angle is needed here. let angle_vec = DVec2::from_angle(-angle.radians()); let translate = DVec2::from(footprint.location);