mirror of https://github.com/axmolengine/axmol.git
boneblendstate 30%
This commit is contained in:
parent
ee5aa0f648
commit
ae0b850d89
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue