4jcraft/Minecraft.World/Util/Emboss.cpp
2026-03-05 03:29:23 -05:00

12 lines
222 B
C++

#include "../Build/stdafx.h"
#include "Emboss.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);
}