Esempio n. 1
0
 public void Execute()
 {
     var(verts, tris) = VoxelRender.GenerateVoxelMesh(new List <VoxelData>(voxels.ToArray()));
     triangles.CopyFrom(tris.ToArray());
     vertices.CopyFrom(verts.ToArray());
 }