STATE_polygon_get_next_patch

 

 



  Returns the next patch. patch_polygon_handle could also be a regular polygon
  that is not a patch, in this case the function will return the first patch
  which is attached to this polygon or NULL if there aren't any patches attached.
  
  Example:
  		  Here is how to go through all the patches of a given polygon
  		for(DWORD poly=STATE_polygon_get_first_patch(polygon_handle); poly!=NULL; poly=STATE_polygon_get_next_patch(poly) )
  		{
  			  do some processing for each patch
  		}

 

 

Go to page 1      Select API

 

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