blob: ae49a0d3d06cdfe1a7b72a72e65a31c4ca1f2d97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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);
}
|