tirbofish/dropbear · diff
wip: made a way more neater component registry that actually doesnt suck ass (so far). i cbb to do the rest tho.
Signature present but could not be verified.
Unverified
@@ -86,6 +86,7 @@ puffin = "0.19" bitflags = "2.10" features = "0.10" puffin_http = "0.16" +dyn-clone = "1.0" [workspace.dependencies.image] version = "0.24" @@ -10,7 +10,6 @@ readme.workspace = true [dependencies] dropbear_future-queue = { path = "../dropbear_future-queue" } -dropbear-traits = { path = "../dropbear-traits" } dropbear-macro = { path = "../dropbear-macro" } slank = { path = "../slank", features = ["download-slang", "use-wgpu"] } @@ -1,14 +1,9 @@ -use dropbear_traits::{Component, ComponentDescriptor, ComponentInitContext, ComponentInitFuture, ComponentUpdateContext, InsertBundle, SerializableComponent}; use std::collections::HashMap; use std::sync::Arc; -use egui::{CollapsingHeader, Ui}; use glam::Mat4; use wgpu::util::DeviceExt; -use crate::asset::ASSET_REGISTRY; -use crate::entity::MeshRenderer; use crate::graphics::SharedGraphicsContext; use crate::model::{AnimationInterpolation, ChannelValues, Model, NodeTransform}; -use std::any::Any; #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] pub struct AnimationComponent { @@ -34,72 +29,6 @@ pub struct AnimationComponent { pub bind_group: Option<wgpu::BindGroup>, } -impl Component for AnimationComponent { - type Serialized = AnimationComponent; -
Large diffs are not rendered by default. Showing the first 50 of 3899 lines. Show full diff