|
Set the direction towards which the camera will point. Exactly the same as the function STATE_camera_set_direction()
only that here we use just 1 parameter.
Example:
double xyz[3]={10,20,30}; Note that setting 10,20,30 is the same as 1,2,3 (the engine normalizes the vector (make it a unit vector) )
DWORD camera=STATE_camera_get_default_camera();
STATE_camera_set_direction1(camera, xyz);
Remarks:
For more information about coordination systems and setting directions see the book (download the book free from www.3dstate.com )
See also STATE_camera_set_direction()
|