Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
274 B · 15 lines
C++
at master
123456789101112131415#include "stdafx.h"#include "Rotate.h"
Rotate::Rotate(Synth *synth, float angle){ this->synth = synth;
_sin = sin(angle); _cos = cos(angle);}
double Rotate::getValue(double x, double y){ return synth->getValue(x * _cos + y * _sin, y * _cos - x * _sin);}