Exemple #1
0
 private static void BuildFaceLight(CubeFace face, Map map, Vector3i pos, MeshBuilder mesh)
 {
     foreach (Vector3 ver in vertices[(int)face])
     {
         Color color = BuildUtils.GetSmoothVertexLight(map, pos, ver, face);
         mesh.AddColor(color);
     }
 }