mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 03:29:06 +00:00
Height warnings
This commit is contained in:
@@ -15,7 +15,7 @@ public class IrisBiomeStorage
|
||||
static
|
||||
{
|
||||
e = (int) Math.round(Math.log(16.0) / Math.log(2.0)) - 2;
|
||||
f = (int) Math.round(Math.log(256.0) / Math.log(2.0)) - 2;
|
||||
f = (int) Math.round(Math.log(256.0) / Math.log(2.0)) - 2; // TODO: WARNING HEIGHT
|
||||
a = 1 << IrisBiomeStorage.e + IrisBiomeStorage.e + IrisBiomeStorage.f;
|
||||
b = (1 << IrisBiomeStorage.e) - 1;
|
||||
c = (1 << IrisBiomeStorage.f) - 1;
|
||||
@@ -38,6 +38,7 @@ public class IrisBiomeStorage
|
||||
|
||||
public void inject(BiomeGrid grid)
|
||||
{
|
||||
// TODO: WARNING HEIGHT
|
||||
for(int i = 0; i < 256; i++)
|
||||
{
|
||||
for(int j = 0; j < 16; j++)
|
||||
|
||||
@@ -569,6 +569,7 @@ public class MathHelper
|
||||
{
|
||||
for(int var02 = 0; var02 < 257; ++var02)
|
||||
{
|
||||
// TODO: WARNING HEIGHT
|
||||
double var1 = (double) var02 / 256.0;
|
||||
double var3 = Math.asin(var1);
|
||||
MathHelper.g[var02] = Math.cos(var3);
|
||||
|
||||
Reference in New Issue
Block a user