directx problem with camera , nothing happens
i seem to have come to a stop my directx book
this function is in a case WM_KEYDOWN , then in another switch with case VK_UP:
nothing happens to the screen camera at all
infact i am totally stuck on the transformation section part of directx
moving vertices to a new axis etc
Code:
void Camera()
{
D3DXVECTOR3 vEyePt(0.0f , 0.0f , -0.5);
D3DXVECTOR3 vLookPt(0.0f , 0.0f , 0.5);
D3DXVECTOR3 vUpVec(0.0f, 1.0f ,0.0f);
D3DXMATRIXA16 matView;
D3DXMatrixLookAtLH(&matView , &vEyePt , &vLookPt , &vUpVec);
g_pDirect3DDevice->SetTransform(D3DTS_VIEW, &matView);
}