D3DXMatrixLookAtLH(&matView, &D3DXVECTOR3(0.0f, 0.0f,-30.0f), //Camera Position
&D3DXVECTOR3(0.0f, 0.0f, 0.0f), //Look At Position
&D3DXVECTOR3(0.0f, 1.0f, 0.0f)); //Up Direction
Which library in dev c++?
I did a google search but I could not find the answer. I tried different libraries but which one do I need to include to do Matrix transformations and vectors?
I get an error trying
because I do not have the correct libraries included. Could someone help me out?
Thanks vbuser
I took a look at the MSDN site and they say that the function needs d3dx9.lib. So the first thing you need to do is see if -ld3dx9 works with the linking. If not, I noticed that it looks like a DX9 function from the content archive, so you may need to update your DX files for Dev-CPP. I've never used DX with Dev, so I can't offer much more there.
- Drew
- Drew
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement