private void UpdateSkeleton()
 {
     this.trunk           = new TreeMesh(device, skeleton);
     this.leaves          = new TreeLeafCloud(device, skeleton);
     this.animationState  = new TreeAnimationState(skeleton);
     this.bindingMatrices = new Matrix[skeleton.Bones.Count];
 }
 private void UpdateSkeleton()
 {
     Trunk = new TreeMesh(device, skeleton);
     Leaves = new TreeLeafCloud(device, skeleton);
     animationState = new TreeAnimationState(skeleton);
     BindingMatrices = new Matrix[skeleton.Bones.Count];
 }