mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
Implement CKnockBackController
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CVertexMorphEffect::CVertexMorphEffect(const zeus::CUnitVector3f& v1, const zeus::CVector3f& v2,
|
||||
float diagExtent, float f2, CRandom16& random)
|
||||
: x0_(v1), x20_diagExtent(diagExtent), x24_random(random)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CVertexMorphEffect::MorphVertices(std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn,
|
||||
const float* magnitudes, const TLockedToken<CSkinRules>& skinRules,
|
||||
const CPoseAsTransforms& pose) const
|
||||
|
||||
@@ -6,12 +6,23 @@
|
||||
namespace urde
|
||||
{
|
||||
class CSkinRules;
|
||||
class CRandom16;
|
||||
|
||||
class CVertexMorphEffect
|
||||
{
|
||||
u32 x0_ = 0;
|
||||
u32 x4_ = 1;
|
||||
zeus::CUnitVector3f x0_;
|
||||
float xc_ = 0.f;
|
||||
float x10_ = 0.f;
|
||||
float x14_ = 0.f;
|
||||
float x18_ = 0.f;
|
||||
float x1c_ = 0.f;
|
||||
float x20_diagExtent;
|
||||
CRandom16& x24_random;
|
||||
std::vector<u32> x28_;
|
||||
std::vector<u32> x38_;
|
||||
public:
|
||||
CVertexMorphEffect(const zeus::CUnitVector3f& v1, const zeus::CVector3f& v2,
|
||||
float diagExtent, float f2, CRandom16& random);
|
||||
void MorphVertices(std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn,
|
||||
const float* magnitudes, const TLockedToken<CSkinRules>& skinRules,
|
||||
const CPoseAsTransforms& pose) const;
|
||||
|
||||
Reference in New Issue
Block a user