Hi,
I am able to move my camera up and down.. by using...
D3DXMatrixLookAtLH matView, CameraP, CameraTo, MakeVector(0, 1, 0)
D3DDevice.SetTransform D3DTS_VIEW, matView
How do I move my camera towards the object...??..
I know by changing the cameraP and cameraTo would do it..
But I am finding hard to calculate the new position of the camera.. can anybody help me out..
Thanks,
Pradeep
