• Advertisement

Archived

This topic is now archived and is closed to further replies.

D3DVECTOR/D3DVERTEX Error

This topic is 6527 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

Why the following code doesn''t work? #include #include (...) D3DVECTOR p1 = D3DVECTOR( 0.0f, 3.0f, 0.0f); m_pvTriangleVertices[0] = D3DVERTEX(p1, vNormal, 0, 0); This produces the error below: ''_D3DVECTOR::_D3DVECTOR'' : no overloaded function takes 3 parameters ''_D3DVERTEX::_D3DVERTEX'' : no overloaded function takes 4 parameters I am using DirectX 6.1 SDK I am getting crazy with this error! Thanks

Share this post


Link to post
Share on other sites
Advertisement
I think you need to add this line:

#define D3D_OVERLOADS

before #include

- VisualLR

Share this post


Link to post
Share on other sites

  • Advertisement