4jcraft/Minecraft.World/Util/Distort.cpp
2026-03-05 03:29:23 -05:00

14 lines
270 B
C++

#include "../Build/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);
}