1 Hour Ago
Switch the PipeMesh mesh upload process to use SetSubMesh instead of SetTriangles which allocates a bunch Calculate normals for industrial pipes in the job, not on main thread Seems to be about 15% faster on main thread and removes some allocations Also enabled burst compiling on the job itself, seems to be 10-20x faster but that doesn't help us on the main thread (can't hurt) Added 3 new tests for industrial pipe generation, ensuring the vert count and normals are generated correctly as well as a general performance test