2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-05 01:51:25 +00:00
|
|
|
|
2017-08-21 05:46:59 +00:00
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "Character/CPoseAsTransforms.hpp"
|
|
|
|
|
2016-04-05 01:51:25 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
2017-08-21 05:46:59 +00:00
|
|
|
class CSkinRules;
|
2016-04-05 01:51:25 +00:00
|
|
|
|
|
|
|
class CVertexMorphEffect
|
|
|
|
{
|
2018-09-07 23:51:07 +00:00
|
|
|
u32 x0_ = 0;
|
|
|
|
u32 x4_ = 1;
|
2017-08-21 05:46:59 +00:00
|
|
|
public:
|
|
|
|
void MorphVertices(std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn,
|
|
|
|
const float* magnitudes, const TLockedToken<CSkinRules>& skinRules,
|
|
|
|
const CPoseAsTransforms& pose) const;
|
2018-09-07 23:51:07 +00:00
|
|
|
|
|
|
|
void Update(float) {}
|
2016-04-05 01:51:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|