aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Distort.cpp
blob: f8fc70c809d0004c3c23d2a5a0d9256026f3ca59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
}