Add CSamusFaceReflection

Former-commit-id: ef3779ac51
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-26 15:51:04 +02:00
parent a59060f699
commit e9cef16ff2
11 changed files with 208 additions and 12 deletions

View File

@@ -0,0 +1,33 @@
#ifndef _CSAMUSFACEREFLECTION
#define _CSAMUSFACEREFLECTION
#include "MetroidPrime/CModelData.hpp"
#include "Kyoto/Math/CQuaternion.hpp"
#include "Kyoto/Math/CVector3f.hpp"
#include "rstl/single_ptr.hpp"
class CStateManager;
class CRandom16;
class CActorLights;
class CSamusFaceReflection {
public:
explicit CSamusFaceReflection(const CStateManager& stateMgr);
void PreDraw(const CStateManager& stateMgr);
void Draw(const CStateManager& stateMgr) const;
void Update(float dt, const CStateManager& stateMgr, CRandom16& rand);
private:
CModelData x0_modelData;
rstl::single_ptr< CActorLights > x4c_lights;
CQuaternion x50_lookRot;
CVector3f x60_lookDir;
int x6c_;
bool x70_hidden;
};
#endif // _CSAMUSFACEREFLECTION