Revert "trying bytebuf and FloatVector"

This reverts commit 2941a0943f.
Benchmark showed no discernible differences.
This commit is contained in:
minjaesong
2023-01-18 20:32:22 +09:00
parent 2941a0943f
commit 66356fc0c9
14 changed files with 148 additions and 250 deletions

View File

@@ -196,10 +196,10 @@ class BasicDebugInfoWindow : UICanvas() {
try {
world?.let {
val valRaw = LightmapRenderer.getLight(mouseTileX, mouseTileY)
val rawR = valRaw?.lane(0)?.toDouble().toIntAndFrac(1,3)
val rawG = valRaw?.lane(1)?.toDouble().toIntAndFrac(1,3)
val rawB = valRaw?.lane(2)?.toDouble().toIntAndFrac(1,3)
val rawA = valRaw?.lane(3)?.toDouble().toIntAndFrac(1,3)
val rawR = valRaw?.r?.toDouble().toIntAndFrac(1,3)
val rawG = valRaw?.g?.toDouble().toIntAndFrac(1,3)
val rawB = valRaw?.b?.toDouble().toIntAndFrac(1,3)
val rawA = valRaw?.a?.toDouble().toIntAndFrac(1,3)
val wallNum = it.getTileFromWall(mouseTileX, mouseTileY)
val tileNum = it.getTileFromTerrain(mouseTileX, mouseTileY)