prime/include/MetroidPrime/CProjectedShadow.hpp

30 lines
662 B
C++
Raw Normal View History

2022-11-08 14:10:22 +00:00
#ifndef _CPROJECTEDSHADOW
#define _CPROJECTEDSHADOW
#include "Kyoto/Graphics/CTexture.hpp"
#include "Kyoto/Math/CAABox.hpp"
class CProjectedShadow {
public:
CProjectedShadow(int, int, uchar);
~CProjectedShadow();
void RenderShadowBuffer(CStateManager&, const CModelData&, const CTransform4f&, int,
const CVector3f&, float, float);
void SetOpacity(float opacity) { x98_opacity = opacity; }
private:
CTexture x0_texture;
CAABox x68_;
bool x80_;
bool x81_persistent;
float x84_;
CVector3f x88_;
float x94_zDistanceAdjust;
float x98_opacity;
};
CHECK_SIZEOF(CProjectedShadow, 0x9c)
#endif // _CPROJECTEDSHADOW