mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-13 15:16:07 +09:00
asynchronous lightmap update wip
This commit is contained in:
@@ -18,6 +18,8 @@ internal class UnsafeCvecArray(val width: Int, val height: Int) {
|
||||
|
||||
private inline fun toAddr(x: Int, y: Int) = 16L * (y * width + x)
|
||||
|
||||
fun isDestroyed() = array.destroyed
|
||||
|
||||
init {
|
||||
zerofill()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user