Class MeshBuilder

java.lang.Object
mindustry.graphics.g3d.MeshBuilder

public class MeshBuilder extends Object
  • Constructor Details

    • MeshBuilder

      public MeshBuilder()
  • Method Details

    • buildIcosphere

      public static Mesh buildIcosphere(int divisions, float radius, Color color)
    • buildIcosphere

      public static Mesh buildIcosphere(int divisions, float radius)
    • buildPlanetGrid

      public static Mesh buildPlanetGrid(PlanetGrid grid, Color color, float scale)
    • buildHex

      public static Mesh buildHex(Color color, int divisions, boolean lines, float radius)
    • buildHex

      public static Mesh buildHex(HexMesher mesher, int divisions, boolean lines, float radius, float intensity)