forked from StudioInfinity/dyna3
AddRemove: make a button that adds constraints
This commit is contained in:
parent
4e3c86fb71
commit
f5486fb0dd
3 changed files with 87 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
mod add_remove;
|
||||
mod assembly;
|
||||
mod display;
|
||||
mod outline;
|
||||
|
@ -6,6 +7,7 @@ use nalgebra::DVector;
|
|||
use rustc_hash::FxHashSet;
|
||||
use sycamore::prelude::*;
|
||||
|
||||
use add_remove::AddRemove;
|
||||
use assembly::{Assembly, Constraint, Element};
|
||||
use display::Display;
|
||||
use outline::Outline;
|
||||
|
@ -68,7 +70,10 @@ fn main() {
|
|||
provide_context(state);
|
||||
|
||||
view! {
|
||||
Outline {}
|
||||
div(id="sidebar") {
|
||||
AddRemove {}
|
||||
Outline {}
|
||||
}
|
||||
Display {}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue