Jump to content
  • Advertisement
Sign in to follow this  
jagguy2

error detection

This topic is 3915 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!