mirror of https://github.com/PrimeDecomp/prime.git
30 lines
662 B
C++
30 lines
662 B
C++
#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
|