mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-03 22:36:10 +00:00
micro div opt
This commit is contained in:
@@ -250,8 +250,8 @@ public class PseudoErosionSampler implements NoiseSampler {
|
||||
double cellY = gridY + yi + jitterY;
|
||||
|
||||
// Transform to actual coordinates for lookup
|
||||
double actualCellX = cellX / frequency;
|
||||
double actualCellY = cellY / frequency;
|
||||
double actualCellX = cellX * 1 / frequency;
|
||||
double actualCellY = cellY * 1 / frequency;
|
||||
|
||||
double lookup = this.lookup.noise(seed, actualCellX, actualCellY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user