boneblendstate 30%

This commit is contained in:
yangxiao 2014-06-12 18:32:47 +08:00
parent ee5aa0f648
commit ae0b850d89
1 changed files with 9 additions and 0 deletions

View File

@ -103,6 +103,13 @@ protected:
Dirty_Translate = 1,
Dirty_Rotation = 2,
Dirty_Scale = 4,
};
struct BoneBlendState
{
Vec3 localTranslate;
Quaternion localRot;
Vec3 localScale;
float weight;
};
/**
* Constructor.
@ -143,6 +150,8 @@ protected:
bool _worldDirty;
Mat4 _world;
Mat4 _local;
BoneBlendState _blendState;
Vec3 _localTranslate;
Quaternion _localRot;
Vec3 _localScale;