the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 14 lines 289 B view raw
1#include "stdafx.h" 2#include "Scale.h" 3 4Scale::Scale(Synth *synth, double xScale, double yScale) 5{ 6 this->synth = synth; 7 this->xScale = 1.0 / xScale; 8 this->yScale = 1.0 / yScale; 9} 10 11double Scale::getValue(double x, double y) 12{ 13 return synth->getValue(x * xScale, y * yScale); 14}