add transformation

This commit is contained in:
2025-09-24 13:35:00 +02:00
parent 5322f857d3
commit 10d4f9fd1b
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@ int WINAPI WinMain(
error = d3d.init(window.getWindowHandle(), width, height, isFullscreen);
CheckError(error);
// set render states
d3d.getDevice()->SetRenderState(D3DRS_CULLMODE, D3DCULL_CCW);
// 3. create a mesh