mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftConsoles-141217.git
synced 2026-10-22 13:22:18 +01:00
14 lines
274 B
C++
14 lines
274 B
C++
#include "stdafx.h"
|
|
#include "Distort.h"
|
|
|
|
Distort::Distort(Synth *source, Synth *distort)
|
|
{
|
|
this->source = source;
|
|
this->distort = distort;
|
|
}
|
|
|
|
double Distort::getValue(double x, double y)
|
|
{
|
|
return source->getValue(x + distort->getValue(x, y), y);
|
|
}
|