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 TypeMethodDescriptionvoid
preRender
(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, render
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
HexMesh
-
HexMesh
-
HexMesh
public HexMesh()
-
-
Method Details
-
preRender
Description copied from class:PlanetMesh
Should be overridden to set up any shader parameters such as planet position, normals, etc.- Overrides:
preRender
in classPlanetMesh
-