Decrease scale granularity to 2.0

This commit is contained in:
elasota
2020-04-25 00:53:43 -04:00
parent cd4e0ae8de
commit ea217285c0

View File

@@ -357,7 +357,7 @@ public:
double xMul = static_cast<double>(physicalWidth) / 640; double xMul = static_cast<double>(physicalWidth) / 640;
double yMul = static_cast<double>(physicalHeight) / 480; double yMul = static_cast<double>(physicalHeight) / 480;
double granularity = 4.0; double granularity = 2.0;
xMul = floor(xMul * granularity) / granularity; xMul = floor(xMul * granularity) / granularity;
yMul = floor(yMul * granularity) / granularity; yMul = floor(yMul * granularity) / granularity;