public abstract class TerrainDoubleCache extends Object
| Modifier and Type | Field and Description |
|---|---|
protected net.daporkchop.lib.common.ref.Ref<it.unimi.dsi.fastutil.longs.Long2LongLinkedOpenHashMap> |
cacheCache |
protected static long |
NaN |
protected int |
radius |
protected int |
scale |
| Constructor and Description |
|---|
TerrainDoubleCache(int radius,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract double |
computeValue(int x,
int z,
int radius,
int scale) |
double |
get(int x,
int z) |
Copyright © 2020. All rights reserved.