Introduce a regulator trait

This will provide a common interface for Lorentz product regulators,
curvature regulators, and hopefully all the other regulators too.
This commit is contained in:
Aaron Fenyes 2025-03-27 00:29:27 -07:00
parent 00f60b0e90
commit 126d4c0cce
3 changed files with 75 additions and 35 deletions

View file

@ -199,7 +199,7 @@ pub fn AddRemove() -> View {
.try_into()
.unwrap()
);
state.assembly.insert_new_regulator(subjects);
state.assembly.insert_new_product_regulator(subjects);
state.selection.update(|sel| sel.clear());
}
) { "🔗" }