add transformation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user