STATE_camera_get_direction1

 

 


   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 )
  

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com