add light

This commit is contained in:
2025-11-19 13:50:33 +01:00
parent 4910894bef
commit 770c3f790b
6 changed files with 49 additions and 13 deletions
+5 -1
View File
@@ -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;
};