Krzysztof Chalupka 8596fcacd2 Submesh 2/n: to_sorted
Summary:
Sort a mesh's vertices in alphabetical order, and resort the face coords accordingly. Textured meshes are not supported yet, but will be added down the stack.

This, togehter with mesh equality, can be used to compare two meshes in a way invariant to vertex permutations, as shown in the unit tests.

We do not want the submeshing mechanism to guarantee any particular vertex order, leaving that up to the implementation, so we need this function for testing.

Reviewed By: bottler

Differential Revision: D35440656

fbshipit-source-id: 5a4dd921fdb00625a33da08b5fea79e20ac6402c
2022-04-11 16:27:53 -07:00
..
2022-02-10 09:39:44 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-01-24 10:52:23 -08:00
2022-03-29 05:09:27 -07:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-03-16 05:42:34 -07:00
2022-02-21 09:26:38 -08:00
2022-04-10 10:27:20 -07:00
2022-01-20 09:44:38 -08:00
2022-04-11 16:27:53 -07:00
2022-02-25 07:53:34 -08:00
2022-02-21 07:24:21 -08:00
2022-01-04 11:43:38 -08:00
2022-02-25 07:53:34 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2020-01-23 11:53:46 -08:00