Add transformation
Add input Add time Add vertex colors
This commit is contained in:
+3
-1
@@ -32,6 +32,8 @@ int WINAPI WinMain(
|
||||
error = d3d.init(window.getWindowHandle(), width, height, isFullscreen);
|
||||
CheckError(error);
|
||||
|
||||
d3d.getDevice()->SetRenderState(D3DRS_LIGHTING, FALSE);
|
||||
|
||||
// 3. create a mesh
|
||||
Mesh mesh = {};
|
||||
error = mesh.init(d3d.getDevice());
|
||||
@@ -39,7 +41,7 @@ int WINAPI WinMain(
|
||||
|
||||
// 4. create a camera
|
||||
Camera camera = {};
|
||||
error = camera.init(width, height);
|
||||
error = camera.init(d3d.getDevice(), width, height);
|
||||
CheckError(error);
|
||||
|
||||
// 5. create time
|
||||
|
||||
Reference in New Issue
Block a user