de Vries comments at one point on the moving of an object in one direction being the same as moving the camera in another. But I don't know if that's the kind of matrix transform issue you have here or if you just have the matrix being constructed with the wrong direction. There is also the possibility of having a direction vector facing the wrong way. Is this from de Vries or something else you are working on ? I don't recognise this example.