What I'm using is from the Direct3D IM Tutorial 1, which is this:
D3DMATRIX matProj = mat;
matProj._11 = 2.0f;
matProj._22 = 2.0f;
matProj._34 = 1.0f;
matProj._43 = -1.0f;
matProj._44 = 0.0f;
Im pretty sure this isn't the correct way to make a projection matrix, but then again, I really don't know what i'm doingn . So my question: Whats the correct way to make the perspective projection matrix? Sample code would be greatly apprectiated, although any answer is welcome!
--TheGoop