Make Mesh::generate_triangle_mesh() handle PRIMITIVE_TRIANGLE_STRIP

This commit is contained in:
kleonc
2022-05-31 13:47:02 +02:00
parent 532e253a7c
commit 9b556c96f0
2 changed files with 47 additions and 18 deletions

View File

@ -123,7 +123,7 @@
<method name="generate_triangle_mesh" qualifiers="const">
<return type="TriangleMesh" />
<description>
Generate a [TriangleMesh] from the mesh.
Generate a [TriangleMesh] from the mesh. Considers only surfaces using one of these primitive types: [constant PRIMITIVE_TRIANGLES], [constant PRIMITIVE_TRIANGLE_STRIP].
</description>
</method>
<method name="get_aabb" qualifiers="const">