mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 14:58:12 +08:00
Bezier derivative and normal implementation (#679)
* added ui for derivative impl * Add derivative computation for bezier-rs library * integrate devivative ui with library * Add implementation for the normal function * Update rustdoc comments * Rename handles and getters, add tangent function * Rename variables, address nits Co-authored-by: Rob Nadal <robnadal44@gmail.com> Co-authored-by: Thomas Cheng <contact.chengthomas@gmail.com> Co-authored-by: ll2zheng <Linda Zheng>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Rob Nadal
Thomas Cheng
ll2zheng
parent
8029c8c001
commit
5016abd971
@@ -52,8 +52,8 @@ export default defineComponent({
|
||||
id: 0,
|
||||
title: "Quadratic",
|
||||
bezier: wasm.WasmBezier.new_quad([
|
||||
[30, 30],
|
||||
[140, 20],
|
||||
[30, 50],
|
||||
[140, 30],
|
||||
[160, 170],
|
||||
]),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user