middle click to open pie menu

This commit is contained in:
minjaesong
2020-02-27 05:41:57 +09:00
parent 89c99e19c0
commit e235b81041
5 changed files with 9 additions and 8 deletions

View File

@@ -247,14 +247,14 @@ fun main(args: Array<String>) {
LwjglApplication(WorldgenNoiseSandbox(), appConfig)
}
interface NoiseMaker {
internal interface NoiseMaker {
fun draw(x: Int, y: Int, noiseValue: List<Double>, outTex: UnsafePtr)
fun getGenerator(seed: Long, params: Any): List<Joise>
}
val locklock = java.lang.Object()
object BiomeMaker : NoiseMaker {
internal object BiomeMaker : NoiseMaker {
override fun draw(x: Int, y: Int, noiseValue: List<Double>, outTex: UnsafePtr) {
val colPal = biomeColors
@@ -303,7 +303,7 @@ object BiomeMaker : NoiseMaker {
}
// http://accidentalnoise.sourceforge.net/minecraftworlds.html
object AccidentalCave {
internal object AccidentalCave {
private infix fun Color.mul(other: Color) = this.mul(other)