mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
Former-commit-id: f79503873f57e781480fa742ed1a058becb6c7a1 Former-commit-id: daeeed816b339958786746c3717670c724676a44
20 lines
592 B
Kotlin
20 lines
592 B
Kotlin
package net.torvald.terrarum.weather
|
|
|
|
import org.newdawn.slick.Image
|
|
import java.util.*
|
|
|
|
/**
|
|
* Note: Colour maps are likely to have sparse data points
|
|
* (i.e., they have 2 475 px in width and you'll need 79 200 data points for a day)
|
|
* so between two must be interpolated.
|
|
*
|
|
* Created by minjaesong on 16-07-11.
|
|
*/
|
|
data class BaseModularWeather(
|
|
val globalLightColourMap: Image,
|
|
var skyboxGradColourMap: Image,
|
|
val classification: String,
|
|
var extraImages: ArrayList<Image>,
|
|
val mixFrom: String? = null,
|
|
val mixPercentage: Double? = null
|
|
) |