mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'master' of gitlab.com:jshipsey/fresh
Former-commit-id: e2bf3a1c413883c6cd3765bdd013fe1ab6ca1e66
This commit is contained in:
commit
f8c9ada8a5
@ -18,10 +18,10 @@ use super::{
|
|||||||
pub struct CharacterSkeleton {
|
pub struct CharacterSkeleton {
|
||||||
head: Bone,
|
head: Bone,
|
||||||
chest: Bone,
|
chest: Bone,
|
||||||
belt: Bone,
|
bl_foot: Bone,
|
||||||
shorts: Bone,
|
br_foot: Bone,
|
||||||
l_hand: Bone,
|
|
||||||
r_hand: Bone,
|
r_hand: Bone,
|
||||||
|
l_hand: Bone,
|
||||||
l_foot: Bone,
|
l_foot: Bone,
|
||||||
r_foot: Bone,
|
r_foot: Bone,
|
||||||
back: Bone,
|
back: Bone,
|
||||||
@ -32,10 +32,10 @@ impl CharacterSkeleton {
|
|||||||
Self {
|
Self {
|
||||||
head: Bone::default(),
|
head: Bone::default(),
|
||||||
chest: Bone::default(),
|
chest: Bone::default(),
|
||||||
belt: Bone::default(),
|
br_foot: Bone::default(),
|
||||||
shorts: Bone::default(),
|
bl_foot: Bone::default(),
|
||||||
l_hand: Bone::default(),
|
|
||||||
r_hand: Bone::default(),
|
r_hand: Bone::default(),
|
||||||
|
l_hand: Bone::default(),
|
||||||
l_foot: Bone::default(),
|
l_foot: Bone::default(),
|
||||||
r_foot: Bone::default(),
|
r_foot: Bone::default(),
|
||||||
back: Bone::default(),
|
back: Bone::default(),
|
||||||
@ -50,10 +50,10 @@ impl Skeleton for CharacterSkeleton {
|
|||||||
[
|
[
|
||||||
FigureBoneData::new(self.head.compute_base_matrix()),
|
FigureBoneData::new(self.head.compute_base_matrix()),
|
||||||
FigureBoneData::new(chest_mat),
|
FigureBoneData::new(chest_mat),
|
||||||
FigureBoneData::new(self.belt.compute_base_matrix()),
|
FigureBoneData::new(self.bl_foot.compute_base_matrix()),
|
||||||
FigureBoneData::new(self.shorts.compute_base_matrix()),
|
FigureBoneData::new(self.br_foot.compute_base_matrix()),
|
||||||
FigureBoneData::new(self.l_hand.compute_base_matrix()),
|
|
||||||
FigureBoneData::new(self.r_hand.compute_base_matrix()),
|
FigureBoneData::new(self.r_hand.compute_base_matrix()),
|
||||||
|
FigureBoneData::new(self.l_hand.compute_base_matrix()),
|
||||||
FigureBoneData::new(self.l_foot.compute_base_matrix()),
|
FigureBoneData::new(self.l_foot.compute_base_matrix()),
|
||||||
FigureBoneData::new(self.r_foot.compute_base_matrix()),
|
FigureBoneData::new(self.r_foot.compute_base_matrix()),
|
||||||
FigureBoneData::new(chest_mat * self.back.compute_base_matrix()),
|
FigureBoneData::new(chest_mat * self.back.compute_base_matrix()),
|
||||||
|
Loading…
Reference in New Issue
Block a user