|
Returns the direction towards which the camera points. Exactly the same as the function STATE_camera_get_direction()
only that here we use just 1 parameter.
Example:
double xyz[3];
DWORD camera=STATE_camera_get_default_camera();
STATE_camera_get_direction1(camera, xyz);
See also STATE_camera_get_direction()
Remarks:
The returned direction is normalized (meaning it is a unit vector)
For more information about coordination systems and setting directions see the book (download the book free from www.3dstate.com )
|