Skip to content

Commit

Permalink
Renamed crate
Browse files Browse the repository at this point in the history
  • Loading branch information
gammelalf committed Jun 10, 2022
1 parent 00cadda commit 87a36fd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "gammalg"
name = "nbezier"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion benches/common/bezier.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use criterion::{black_box, Criterion};
use gammalg::bezier::BezierCurve;
use nbezier::bezier::BezierCurve;
use crate::common::samples::CURVES;

macro_rules! bench_curve_types {
Expand Down
2 changes: 1 addition & 1 deletion benches/common/samples.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use once_cell::sync::Lazy;
use smallvec::smallvec;
use nalgebra::Vector2;
use gammalg::bezier::BezierCurve;
use nbezier::bezier::BezierCurve;

/// Points generated randomly
/// ```python
Expand Down
4 changes: 2 additions & 2 deletions wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "gammalg-wasm"
name = "nbezier-wasm"
version = "0.1.0"
edition = "2021"

Expand All @@ -12,4 +12,4 @@ wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
js-sys = "0.3"
web-sys = { version = "0.3", features = ["CanvasRenderingContext2d"] }
nalgebra = "0.31"
gammalg = { version = "0.1.0", path = ".." }
nbezier = { version = "0.1.0", path = ".." }
6 changes: 3 additions & 3 deletions wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ use wasm_bindgen::prelude::*;
use js_sys::Array;
use web_sys::CanvasRenderingContext2d;
use nalgebra::Vector2;
use gammalg::bezier::BezierCurve;
use gammalg::bounding_box::BoundingBox;
use gammalg::graham_scan::convex_hull;
use nbezier::bezier::BezierCurve;
use nbezier::bounding_box::BoundingBox;
use nbezier::graham_scan::convex_hull;

#[derive(Deserialize)]
pub struct Point {
Expand Down

0 comments on commit 87a36fd

Please sign in to comment.