• Advertisement
Sign in to follow this  

error detection

This topic is 3705 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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:

HRESULT scene_object::initVB( LPDIRECT3DDEVICE9 g_pd3dDevice,

LPD3DXMESH g_mesh,LPD3DXMESH g_mesh2)

Share this post


Link to post
Share on other sites
where do i define the strucure as i dont want a global struct?

I fixed the 100's of errors by rebooting and it compiles

[Edited by - jagguy2 on January 2, 2008 7:44:06 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement