mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 14:03:37 +00:00
14 lines
270 B
C++
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);
|
|
}
|