Adding shadows!

This commit is contained in:
Godzil
2020-02-20 17:46:03 +00:00
parent 5198888df6
commit cf5597ad6d
11 changed files with 145 additions and 24 deletions

View File

@@ -18,6 +18,11 @@ void set_equal_precision(double v)
current_precision = v;
}
double getEpsilon()
{
return current_precision;
}
bool double_equal(double a, double b)
{
return fabs(a - b) < current_precision;