error detection
Why are you defining your Vertex3 struct inside your scene_object class?
Also, you have not implemented the initVB member function of scene_object in that code, but rather created a function in the global namespace with the same name. You want this:
Also, you have not implemented the initVB member function of scene_object in that code, but rather created a function in the global namespace with the same name. You want this:
HRESULT scene_object::initVB( LPDIRECT3DDEVICE9 g_pd3dDevice, LPD3DXMESH g_mesh,LPD3DXMESH g_mesh2)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement