Skip to content

Instantly share code, notes, and snippets.

View Ragueel's full-sized avatar
🤙
Chill

Raguel Ragueel

🤙
Chill
View GitHub Profile
@Ragueel
Ragueel / Mesh Helper C#
Created August 17, 2020 07:37
For subdividing meshes in Unity
public class MeshHelper
{
static List<Vector3> vertices;
static List<Vector3> normals;
// [... all other vertex data arrays you need]
static List<int> indices;
static Dictionary<uint, int> newVectices;