From f1fe73d1909a2448a004a88362a1a532d0d4f7c3 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Feb 2023 23:53:22 -0600 Subject: switch to tinyobj and nanovg from assimp and cairo --- .../assimp/port/assimp_rs/src/structs/anim/anim.rs | 44 ---------------------- libs/assimp/port/assimp_rs/src/structs/anim/mod.rs | 6 --- 2 files changed, 50 deletions(-) delete mode 100644 libs/assimp/port/assimp_rs/src/structs/anim/anim.rs delete mode 100644 libs/assimp/port/assimp_rs/src/structs/anim/mod.rs (limited to 'libs/assimp/port/assimp_rs/src/structs/anim') diff --git a/libs/assimp/port/assimp_rs/src/structs/anim/anim.rs b/libs/assimp/port/assimp_rs/src/structs/anim/anim.rs deleted file mode 100644 index 5374151..0000000 --- a/libs/assimp/port/assimp_rs/src/structs/anim/anim.rs +++ /dev/null @@ -1,44 +0,0 @@ -pub struct Animation<'mA, 'mMA, 'nA> { - /* The name of the animation. If the modeling package this data was - * exported from does support only a single animation channel, this - * name is usually empty (length is zero). - */ - m_name: Option, - // Duration of the animation in ticks - m_duration: f64, - // Ticks per second. Zero (0.000... ticks/second) if not - // specified in the imported file - m_ticks_per_second: Option, - /* Number of bone animation channels. - Each channel affects a single node. - */ - m_num_channels: u64, - /* Node animation channels. Each channel - affects a single node. - ?? -> The array is m_num_channels in size. - (maybe refine to a derivative type of usize?) - */ - m_channels: &'nA NodeAnim, - /* Number of mesh animation channels. Each - channel affects a single mesh and defines - vertex-based animation. - */ - m_num_mesh_channels: u64, - /* The mesh animation channels. Each channel - affects a single mesh. - The array is m_num_mesh_channels in size - (maybe refine to a derivative of usize?) - */ - m_mesh_channels: &'mA MeshAnim, - /* The number of mesh animation channels. Each channel - affects a single mesh and defines some morphing animation. - */ - m_num_morph_mesh_channels: u64, - /* The morph mesh animation channels. Each channel affects a single mesh. - The array is mNumMorphMeshChannels in size. - */ - m_morph_mesh_channels: &'mMA MeshMorphAnim -} -pub struct NodeAnim {} -pub struct MeshAnim {} -pub struct MeshMorphAnim {} diff --git a/libs/assimp/port/assimp_rs/src/structs/anim/mod.rs b/libs/assimp/port/assimp_rs/src/structs/anim/mod.rs deleted file mode 100644 index a0d4b7d..0000000 --- a/libs/assimp/port/assimp_rs/src/structs/anim/mod.rs +++ /dev/null @@ -1,6 +0,0 @@ -mod anim; -pub use self::anim::{ - Animation, - NodeAnim, - MeshAnim, - MeshMorphAnim}; -- cgit v1.2.1