add cube mesh
add world matrix add view matrix add projection matrix
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user