|
Obsolete, use STATE_group_create_reduced_copy() instead
This function reduces the number of polygons by
eliminating redundant polygons and by joining several polygons
into one polygon.
accuracy is used when we try to check whether two polygons
have the same plane (so we can unite them to one polygon).
If this number for example is 0.1 and
the X component if the normals are planeA[0]=1 and planeB[0]=0.9
then the join operation will take place.
can be done only in editor mode.
returns the number of polygons that were reduced.
Returns VR_ERROR on failure on success returns the number of polygons that were reduced
|