Sign in to follow this  

error detection

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this