Files
2026-03-01 12:16:08 +08:00

12 lines
213 B
C++

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