Real-time lighting + solar system rendering
This commit is contained in:
10
core/src/mindustry/graphics/g3d/HexMesher.java
Normal file
10
core/src/mindustry/graphics/g3d/HexMesher.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package mindustry.graphics.g3d;
|
||||
|
||||
import arc.graphics.*;
|
||||
import arc.math.geom.*;
|
||||
|
||||
/** Defines color and height for a planet mesh. */
|
||||
public interface HexMesher{
|
||||
float getHeight(Vec3 position);
|
||||
Color getColor(Vec3 position);
|
||||
}
|
||||
Reference in New Issue
Block a user