Package mindustry.graphics.g3d
Class HexMesh
java.lang.Object
mindustry.graphics.g3d.PlanetMesh
mindustry.graphics.g3d.HexMesh
- All Implemented Interfaces:
arc.util.Disposable,GenericMesh
-
Field Summary
Fields inherited from class mindustry.graphics.g3d.PlanetMesh
mesh, planet, shader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpreRender(PlanetParams params) Should be overridden to set up any shader parameters such as planet position, normals, etc.Methods inherited from class mindustry.graphics.g3d.PlanetMesh
dispose, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
HexMesh
-
HexMesh
-
HexMesh
public HexMesh()
-
-
Method Details
-
preRender
Description copied from class:PlanetMeshShould be overridden to set up any shader parameters such as planet position, normals, etc.- Overrides:
preRenderin classPlanetMesh
-