STATE_camera_get_location

 

 



  Returns the location of the camera.
  
   Example A:
  		
  		double x,y,z;
  		DWORD camera=STATE_camera_get_default_camera();
  		STATE_camera_get_location(camera, &x, &y, &z);
  
   Example B:
  
  		  Note that instead of doing it as shown below, it is easier to use the function STATE_camera_get_location1() instead
  		double xyz[3];
  		DWORD camera=STATE_camera_get_default_camera();
  		STATE_camera_get_location(camera, &xyz[0], &xyz[1], &xyz[2]);
  
  
  
   See also STATE_camera_get_location1()
  

 

 

Go to page 1      Select API

 

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