Takes all polygon shapes and generates a list of triangles from them. Output will contain a multiple of 3 points, each set is one triangle. Always ignores circles, but can include or ignore boxes based on bIncludeBoxes.