Syomus / ProceduralToolkit

Procedural generation library for Unity
https://assetstore.unity.com/packages/tools/utilities/procedural-toolkit-16508
MIT License
2.64k stars 229 forks source link

Add a uvmap for MeshDraft.Dodecahedron #41

Open BasmanovDaniil opened 6 years ago

BasmanovDaniil commented 6 years ago

All other primitives have a more or less sensible uvmap, Dodecahedron should have one too. Also, it will have to be constructed in some other way, AddFlatTriangleBand is not very convenient in this case. https://github.com/Syomus/ProceduralToolkit/blob/ff54823b512d9738afb1db5c1d5e83296e4c826e/Scripts/MeshDraftPrimitives.cs#L118-L148