mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-08-13 16:46:54 +00:00
feat: init
This commit is contained in:
@@ -0,0 +1,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);
|
||||
}
|
||||
Reference in New Issue
Block a user