add world matrix

add view matrix
add projection matrix
This commit is contained in:
2025-09-17 16:08:23 +02:00
parent e5451c10fc
commit 53cf8b96a3
4 changed files with 38 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ int WINAPI WinMain(
// 8.1. update objects
time.update();
mesh.update(time.getDeltaTime());
camera.update(time.getDeltaTime());
camera.update(time.getDeltaTime(), d3d.getDevice());
light.update(time.getDeltaTime());
// 8.2. render objects