Package mindustry.graphics.g3d
Class HexMesh
java.lang.Object
mindustry.graphics.g3d.PlanetMesh
mindustry.graphics.g3d.HexMesh
- All Implemented Interfaces:
GenericMesh
-
Field Summary
Fields inherited from class mindustry.graphics.g3d.PlanetMesh
mesh, planet, shader
-
Constructor Summary
-
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
render
-
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
-