add mesh examples

This commit is contained in:
2025-09-17 14:20:46 +02:00
parent 7aa8e8e79c
commit e5451c10fc
3 changed files with 81 additions and 2 deletions
+2
View File
@@ -32,6 +32,8 @@ int WINAPI WinMain(
error = d3d.init(window.getWindowHandle(), width, height, isFullscreen);
CheckError(error);
d3d.getDevice()->SetRenderState(D3DRS_CULLMODE, D3DCULL_CCW);
// 3. create a mesh
Mesh mesh = {};
error = mesh.init(d3d.getDevice());