STATE_camera_set_direction

 

 


   Set the direction towards which the camera will point .
  
   Example:
  
  		DWORD camera=STATE_camera_get_default_camera();		
  		  Make the camera points towards the positive Y axis (pointing right)
  		STATE_camera_set_direction(camera, 0,1,0);
  
   Remarks:
  		Note that STATE_camera_set_direction(camera, 10,20,30);
  		has exactly the same result as STATE_camera_set_direction(camera, 1,2,3);
  
  		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_direction1()
  

 

 

Go to page 1      Select API

 

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