Skip to content

Commit

Permalink
Small update of graphics for documentation.
Browse files Browse the repository at this point in the history
Fixes font offsets from `natural_neighbors_scenario`
  • Loading branch information
Stoeoef committed Dec 28, 2023
1 parent a2d2c56 commit bb2b264
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 127 deletions.
2 changes: 1 addition & 1 deletion examples/svg_renderer/scenario_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -990,13 +990,13 @@ pub fn natural_neighbors_scenario() -> Sketch {
let mut result = convert_triangulation(&triangulation, &Default::default());

let offsets = [
Vector2::new(5.0, 2.0),
Vector2::new(2.0, 5.0),
Vector2::new(-4.0, 6.0),
Vector2::new(0.0, 6.0),
Vector2::new(1.0, 6.0),
Vector2::new(0.0, 8.0),
Vector2::new(3.0, 4.0),
Vector2::new(5.0, 2.0),
];

for (index, (neighbor, weight)) in nns.iter().enumerate() {
Expand Down
116 changes: 58 additions & 58 deletions images/natural_neighbor_insertion_cell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bb2b264

Please sign in to comment.