Bézier-rs: Add utils to subpath (#1058)

* Add utils to bezier-rs subpath

* Apply code review changes

* Remove tan from constant

* Fix compile

* Fix tests
This commit is contained in:
0HyperCube
2023-03-02 16:48:09 +00:00
committed by GitHub
parent 9dcabc053b
commit 0fb2c4d06c
12 changed files with 206 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ use glam::DVec2;
use std::fmt::Write;
use wasm_bindgen::prelude::*;
#[derive(Clone, PartialEq)]
#[derive(Clone, PartialEq, Hash)]
pub(crate) struct EmptyId;
impl bezier_rs::Identifier for EmptyId {