first commit
This commit is contained in:
12
Minecraft.World/Emboss.cpp
Normal file
12
Minecraft.World/Emboss.cpp
Normal file
@@ -0,0 +1,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);
|
||||
}
|
||||
Reference in New Issue
Block a user