메소드 | 설명 | |
---|---|---|
ConvexTriangulator ( Document doc ) : void |
This method will convert convex polygons to triangles A more advanced condionner would be required to handle convex, complex polygons
|
|
Reindexor ( Document doc ) : void |
This method will create a single index for the primitives This will not work on polygons and polylist, since vcount is not taken in count there So you need to first run ConvexTriangulator (or equivalent) This will make it directly usable as a index vertexArray for drawing
|
public static ConvexTriangulator ( Document doc ) : void | ||
doc | Document | |
리턴 | void |