12 lines
213 B
C++
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);
|
|
} |