add cube mesh

add world matrix
add view matrix
add projection matrix
This commit is contained in:
2025-09-17 11:53:34 +02:00
parent f2dca52aa7
commit faa9b71510
5 changed files with 106 additions and 16 deletions
+1 -1
View File
@@ -70,7 +70,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