2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

CMorphBall Complete

This commit is contained in:
Jack Andersen
2017-09-29 17:45:57 -10:00
parent 5bec8f4d89
commit 484a4900a0
17 changed files with 776 additions and 307 deletions

View File

@@ -212,6 +212,18 @@ public:
std::swap(rot, data.x30_irot);
}
}
void DoSpiderBallWarmup(zeus::CVector3f& translation, const zeus::CVector3f& transInc)
{
SetOrientation(zeus::lookAt(zeus::CVector3f::skZero, transInc));
for (int i=0 ; i<6 ; ++i)
{
SetTranslation(translation);
x1d0_26_disableUpdate = true;
Update(0.0);
translation += transInc;
}
}
};
}