Skip to content

Commit

Permalink
Moved main into an example
Browse files Browse the repository at this point in the history
  • Loading branch information
gammelalf committed Sep 7, 2022
1 parent c82d284 commit de2f568
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/main.rs → examples/svg.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
use crate::bezier::BezierCurve;
use crate::svg::SVG;
use nbezier::bezier::BezierCurve;
use nbezier::svg::SVG;
use nalgebra::Vector2;
use smallvec::smallvec;

mod bezier;
mod bounding_box;
mod graham_scan;
mod npolynomial;
mod svg;

fn main() {
let mut svg = SVG {
view_box: (0.0, 0.0, 100.0, 100.0),
Expand Down

0 comments on commit de2f568

Please sign in to comment.