Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
14 lines
261 B
C++
14 lines
261 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);
|
|
}
|