Class HexMesh

java.lang.Object
mindustry.graphics.g3d.PlanetMesh
mindustry.graphics.g3d.HexMesh
All Implemented Interfaces:
GenericMesh
Direct Known Subclasses:
NoiseMesh, SunMesh

public class HexMesh extends PlanetMesh
  • Constructor Details

    • HexMesh

      public HexMesh(Planet planet, int divisions)
    • HexMesh

      public HexMesh(Planet planet, HexMesher mesher, int divisions, Shader shader)
    • HexMesh

      public HexMesh()
  • Method Details

    • preRender

      public void preRender(PlanetParams params)
      Description copied from class: PlanetMesh
      Should be overridden to set up any shader parameters such as planet position, normals, etc.
      Overrides:
      preRender in class PlanetMesh