light whitewash version 1

This commit is contained in:
minjaesong
2020-12-01 17:50:47 +09:00
parent f77e65ac97
commit 5685243443
7 changed files with 53 additions and 71 deletions

View File

@@ -89,6 +89,7 @@ internal object LightmapHDRMap : Disposable {
inline operator fun get(index: Int) = ptr.getFloat(4L * index)
val lastIndex = THE_LUT.lastIndex
val size = lastIndex + 1
override fun dispose() {
ptr.destroy()