Sign in to follow this  
viper110110

#include isn't working

Recommended Posts

I am trying to follow http://www.rastertek.com/dx11tut03.html

After putting all the code in, I realized that I should be using DirectXMath.h instead of d3dx10math.h because the old one couldn't be found.

After switching to DirectXMath, I tried to switch one of the D3DXMATRIX to XMMATRIX and it couldn't find it. I used visual studio to go to DirectXMath.h and I found XMMATRIX, but it isn't working with the include and the compiler gives an error on XMMATRIX (not on the #include <DirectXMath.h> line). I also tried changing D3DX_PI to XM_PI and it didn't work either.

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