Skip to content

Commit

Permalink
Fix star model error
Browse files Browse the repository at this point in the history
  • Loading branch information
devanlooches authored and hannobraun committed Aug 8, 2022
1 parent 275eae7 commit 8607b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/star/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn model(
fj::Angle::from_rad(2. * PI / num_vertices as f64 * i as f64);
let radius = if i % 2 == 0 { r1 } else { r2 };
(angle, radius)
})
});

// Now that we got that iterator prepared, generating the vertices is just a
// bit of trigonometry.
Expand Down

0 comments on commit 8607b44

Please sign in to comment.