4jcraft/targets/minecraft/world/level/levelgen/synth/Emboss.cpp
2026-04-01 13:27:58 -05:00

8 lines
245 B
C++

#include "Emboss.h"
#include "minecraft/world/level/levelgen/synth/Synth.h"
Emboss::Emboss(Synth* synth) { this->synth = synth; }
double Emboss::getValue(double x, double y) {
return synth->getValue(x, y) - synth->getValue(x + 1, y + 1);
}