Bezier-rs: Updated Bezier function signatures to accept TValue (#967)

* Create helper for converting d to t values

* Add euclidean option for tangent and normal

* Modified bezier functions signatures to accept ComputeType

* Stylistic changes per review

* Added ComputeType documentation

* Renamed ComputeType to TValue

* Fixed comments

* Fixed failing unit tests

* Code review

* Fix comments in code review

* Renamed compute_type_to_parametric to t_value_to_parametric

---------

Co-authored-by: Linda Zheng <thelindazheng@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Rob Nadal
2023-02-13 12:31:51 -05:00
committed by GitHub
co-authored by Linda Zheng Keavon Chambers
parent 1c2b8f67b2
commit 76be1f8515
25 changed files with 456 additions and 433 deletions
@@ -6,7 +6,7 @@ export const tSliderOptions = {
variable: "t",
};
export const tErrorOptions = {
export const errorOptions = {
variable: "error",
min: 0.1,
max: 2,
@@ -14,7 +14,7 @@ export const tErrorOptions = {
default: 0.5,
};
export const tMinimumSeperationOptions = {
export const minimumSeparationOptions = {
variable: "minimum_seperation",
min: 0.001,
max: 0.25,