4jcraft/Minecraft.World/Util/Emboss.cpp

12 lines
225 B
C++

#include "../Platform/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);
}