Merge branch 'Develope' into Effect
This commit is contained in:
@@ -54,7 +54,7 @@ void CS_MAIN(uint3 DTid : SV_DispatchThreadID)
|
||||
int p = g_ParentBuffer[global];
|
||||
while (p != -1)
|
||||
{
|
||||
combined = mul(combined,g_LocalMatIn[p]);
|
||||
combined = mul(combined, g_LocalMatIn[p]);
|
||||
p = g_ParentBuffer[p];
|
||||
}
|
||||
|
||||
|
||||
@@ -162,6 +162,11 @@ void CUnit::Add_Event(_uint AnimIndex, function<void()> Callback, _float fRatio,
|
||||
m_PendingEvents.push_back(Desc);
|
||||
}
|
||||
|
||||
void CUnit::Reset_Event()
|
||||
{
|
||||
m_PendingEvents.clear();
|
||||
}
|
||||
|
||||
void CUnit::Check_HitAngle(_vector ProjectileDir)
|
||||
{
|
||||
_vector vProjectileDir = ProjectileDir;
|
||||
|
||||
@@ -93,6 +93,7 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
|
||||
HRESULT Ready_Components(void*pArg);
|
||||
void Play_Event();
|
||||
void Add_Event(_uint AnimIndex, function<void()> Callback, _float fRatio = 0.f, _bool bKeep = false);
|
||||
void Reset_Event();
|
||||
void Check_HitAngle(_vector ProjectileDir);
|
||||
void Load_AnimXML(const string& path);
|
||||
STATEANIM::ESTATE StringToStateAnim(const string& s);
|
||||
|
||||
Reference in New Issue
Block a user