Add matrix buffer

Convert camera to D3D11
Add world, view & projection matrix exposing
This commit is contained in:
2026-11-27 12:17:17 +01:00
parent ead7463b8e
commit c6fdf567b7
8 changed files with 89 additions and 25 deletions
+2
View File
@@ -12,6 +12,8 @@ public:
void render(ID3D11DeviceContext* pD3DDeviceContext);
void deInit();
const XMFLOAT4X4& getWorldMatrix() const { return _worldMatrix; }
private:
UINT createVertexBuffer(ID3D11Device* pD3DDevice);
UINT createIndexBuffer(ID3D11Device* pD3DDevice);