SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ShadowVolumeDrawer.hpp
1#pragma once
2
3#include "Game/LiveActor/ShadowDrawer.hpp"
4#include "Game/LiveActor/ShadowController.hpp"
5#include "Game/Util/Color.hpp"
6
8public:
10
11 virtual ~ShadowVolumeDrawInit();
12};
13
15public:
16 ShadowVolumeDrawer(const char *);
17
18 virtual ~ShadowVolumeDrawer();
19
20 virtual void draw() const;
21 virtual void loadModelDrawMtx() const;
22 virtual void drawShape() const;
23 virtual bool isDraw() const;
24
25 void setStartDrawShepeOffset(f32);
26 void setEndDrawShepeOffset(f32);
27 void onCutDropShadow();
28 void offCutDropShadow();
29 void calcBaseDropPosition(TVec3f *) const;
30 void calcBaseDropPosition(TVec3f *, const ShadowController *) const;
31 f32 calcBaseDropLength() const;
32 f32 calcBaseDropLength(const ShadowController *) const;
33
34 f32 mStartDrawShapeOffset; // _10
35 f32 mEndDrawShapeOffset; // _14
36 bool mIsCutDropShadow; // _18
37};
The most basic form of an object.
Definition NameObj.hpp:11
virtual void draw() const
Draws the object. Does nothing until overridden.