STATE_group_rotate

 

 


   Rotates a group around its rotation center. 
   To set the rotation center call: STATE_group_set_rotate_reference_point()
   Groups that include a rotated polygon (See STATE_polygon_is_rotated ) cannot
   be rotated using this function (You can call this function but it will have no effect)
  
   Parameters:
  	group_handle:
  		A NULL group_handle means the whole world
  
  	degrees: In how many degrees to rotate the group. 
  
  	space_flag: CAMERA_SPACE, OBJECT_SPACE, WORLD_SPACE
  	axis_flag:  0 for the X axis. 1 for the Y axis. 2 for the Z axis
  
   see also STATE_group_is_rotation_enabled()
   STATE_group_set_rotate_reference_point()
   STATE_group_get_center_of_mass()

 

 

Go to page 1      Select API

 

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