add vertex color
add time calculation
This commit is contained in:
@@ -34,6 +34,7 @@ int WINAPI WinMain(
|
||||
|
||||
// set render states
|
||||
d3d.getDevice()->SetRenderState(D3DRS_CULLMODE, D3DCULL_CCW);
|
||||
d3d.getDevice()->SetRenderState(D3DRS_LIGHTING, FALSE);
|
||||
|
||||
// 3. create a mesh
|
||||
Mesh mesh = {};
|
||||
|
||||
Reference in New Issue
Block a user