STATE_object_get_direction1

 

 


   Returns the direction towards which the object points. Exactly the same as the function STATE_object_get_direction()
   only that here we use just 1 parameter.
  
   Example:
  
  		double xyz[3];
  		DWORD object=STATE_object_get_first_object();
  		STATE_object_get_direction1(object, xyz);
  
  
  
   See also STATE_object_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