Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a small comment
Browse files Browse the repository at this point in the history
bschwind committed Dec 26, 2023
1 parent 90e2b3a commit 7191179
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/opencascade/src/kicad.rs
Original file line number Diff line number Diff line change
@@ -69,6 +69,7 @@ impl KicadPcb {
pub fn layer_edges<'a>(&'a self, layer: &'a BoardLayer) -> impl Iterator<Item = Edge> + '_ {
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);

0 comments on commit 7191179

Please sign in to comment.