feat: model nodes

This commit is contained in:
Nova
2023-05-10 08:38:21 -04:00
parent 3e0860073d
commit ee5a226c5e
6 changed files with 212 additions and 99 deletions

View File

@@ -2,7 +2,11 @@ pub mod lines;
pub mod model;
pub mod text;
use self::{lines::Lines, model::Model, text::Text};
use self::{
lines::Lines,
model::{Model, ModelPart},
text::Text,
};
use super::Node;
use crate::core::client::Client;
@@ -26,6 +30,7 @@ pub fn create_interface(client: &Arc<Client>) -> Result<()> {
pub enum Drawable {
Lines(Arc<Lines>),
Model(Arc<Model>),
ModelPart(Arc<ModelPart>),
Text(Arc<Text>),
}