mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
diching RGB10; colors are now fully vec3
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
|
||||
package net.torvald.terrarum.gameworld
|
||||
|
||||
import com.badlogic.gdx.graphics.Color
|
||||
import net.torvald.terrarum.realestate.LandUtil
|
||||
import net.torvald.terrarum.blockproperties.BlockCodex
|
||||
import net.torvald.terrarum.worlddrawer.RGB10
|
||||
import org.dyn4j.geometry.Vector2
|
||||
|
||||
typealias BlockAddress = Long
|
||||
@@ -32,8 +32,8 @@ class GameWorld(val width: Int, val height: Int) {
|
||||
//physics
|
||||
/** Meter per second squared. Currently only the downward gravity is supported. No reverse gravity :p */
|
||||
var gravitation: Vector2 = Vector2(0.0, 9.8)
|
||||
/** RGB in Integer */
|
||||
var globalLight: RGB10 = 0
|
||||
/** 0.0..1.0+ */
|
||||
var globalLight = Color(0f,0f,0f,1f)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user