add light
This commit is contained in:
+5
-1
@@ -4,9 +4,13 @@
|
||||
class Light
|
||||
{
|
||||
public:
|
||||
UINT init();
|
||||
UINT init(D3DLIGHT9& lightData, UINT id = 0);
|
||||
void update(FLOAT dt);
|
||||
void render(IDirect3DDevice9* pD3DDevice);
|
||||
void deInit();
|
||||
|
||||
private:
|
||||
D3DLIGHT9 _lightData = {};
|
||||
UINT _id = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user