diff --git a/voxygen/src/scene/figure.rs b/voxygen/src/scene/figure.rs index 81b6fec25c..2c43852d03 100644 --- a/voxygen/src/scene/figure.rs +++ b/voxygen/src/scene/figure.rs @@ -1,4 +1,5 @@ -// Crate +use specs::{Component, VecStorage}; +use vek::*; use crate::{ Error, render::{ @@ -77,3 +78,15 @@ impl Figure { ); } } + + +#[derive(Copy, Clone, Debug)] +pub struct Figure { + bone_consts: Consts, + locals: Consts, + skeleton: S, +} + +impl Component for Figure { + type Storage = VecStorage; +}