mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-01 07:24:56 -10:00
* Add a snapping library crate with its curve, track, and view geometry * Add a spatial index of the scene's snappable geometry to the snapping library * Add the snapping library's solver, which ranks spots, tracks, and their crossings with hysteresis and lands on the grid * Add the snapping library's candidate finders, awake-target constructions, and gesture entry points * Stop held crossings from jumping elsewhere and harden snapping library edge cases
27 lines
568 B
TOML
27 lines
568 B
TOML
[package]
|
|
name = "snapping"
|
|
description = "Snapping engine that finds the relationships a moving point can take with the geometry around it"
|
|
version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
readme.workspace = true
|
|
homepage.workspace = true
|
|
rust-version.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
glam = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
criterion = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "scale"
|
|
harness = false
|