Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.