Original Post
Why doesnt this code work, shouldnt it show every thing like normal, well, nothing is draw on the screen. Please help anyone!
float aspect,fov,n,f;
n=1;
f=3000;
fov = 90;
aspect = 480/640;
float l = -n*tan(fov/2);
float r = n*tan(fov/2);
float t = aspect*r;
float b = aspect*l;
D3DXMatrixPerspectiveOffCenterLH(&matProj, l,r,t,b, n,f);