From 7ff6dfe1fe69a077c15762f79efa8d3e4b6ff07c Mon Sep 17 00:00:00 2001 From: minjaesong Date: Thu, 21 Apr 2022 15:34:24 +0900 Subject: [PATCH] Revert "Light Calculation using JDK Incubator Vector": Vectorising yields poorer performance This reverts commit b47549d846f8faf52b3d5dc0cd4ae1725e8cb0bd. --- .idea/compiler.xml | 3 - .idea/kotlinc.xml | 5 +- .idea/runConfigurations/Terrarum.xml | 2 +- .../Terrarum__no_DEV_MODE_.xml | 1 - src/module-info.java | 1 - src/net/torvald/gdx/graphics/Cvec.kt | 304 ++++++++++++++---- .../torvald/gdx/graphics/UnsafeCvecArray.kt | 162 +++++++--- .../terrarum/blockproperties/BlockProp.kt | 4 +- .../terrarum/blockproperties/BlockPropUtil.kt | 7 +- .../torvald/terrarum/weather/WeatherMixer.kt | 2 +- .../terrarum/worlddrawer/LightmapRenderer.kt | 135 ++++---- 11 files changed, 443 insertions(+), 183 deletions(-) diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 75a6258cb..4e9742ba6 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,8 +1,6 @@ - \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml index 2d9529908..ae8a33732 100644 --- a/.idea/kotlinc.xml +++ b/.idea/kotlinc.xml @@ -1,6 +1,9 @@ + + - \ No newline at end of file diff --git a/.idea/runConfigurations/Terrarum.xml b/.idea/runConfigurations/Terrarum.xml index 5cf10822e..6928af11a 100644 --- a/.idea/runConfigurations/Terrarum.xml +++ b/.idea/runConfigurations/Terrarum.xml @@ -1,7 +1,7 @@