First time here? Check out the FAQ!
answered 2017-03-09 18:37:16 -0600
Just checking, you want the unit vector in the direction of a point as if the camera was at (0,0,0)?
If so, take a look HERE. This through line 216 are what you need.
If not, I'm not sure what you're asking.