Files
hwr2023_a/GDP/D3D9/Camera.h
T
david 53cf8b96a3 add world matrix
add view matrix
add projection matrix
2025-09-17 16:08:23 +02:00

16 lines
240 B
C++

#pragma once
#include <d3d9.h>
class Camera
{
public:
UINT init(UINT width, UINT height);
void update(FLOAT dt, IDirect3DDevice9* pD3DDevice);
void deInit();
private:
D3DMATRIX _viewMatrix = {};
D3DMATRIX _projectionMatrix = {};
};