add mesh examples
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user