Commit Graph

4 Commits

Author SHA1 Message Date
Bálint Hodossy 64b042369b Readd axis swizzling to the mesh writer 2024-01-24 18:32:55 +00:00
Bálint Hodossy 042e3c9c4c Reuse indices in mesh parsing, remove trailing nulls in mesh writing 2024-01-20 19:06:15 +00:00
Google DeepMind 455a081ee7 Cache triangles, vertices and normals from the mesh outside of the triangle loop so we don't have to request them inside the loop.
This is because each time we call mesh.triangles or similar, the data gets copied from the native memory to a c# structure.

PiperOrigin-RevId: 551851115
Change-Id: Ie7820f61639f0d727ecf9716044ce18b3277913b
2023-07-28 07:50:54 -07:00
Tom Erez 6de9eafa13 Initial release of the Unity plugin.
PiperOrigin-RevId: 425947505
2022-02-02 20:44:39 +00:00