mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
make it more clear what's actually being done
This commit is contained in:
@ -193,6 +193,8 @@ private:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// unoptimized algorithm is: z0 + ((z1-z0 >> 1) / xdiff * x << 1);
|
||||||
|
// or alternatively there's: z0 + (z1-z0) / (xdiff<<1) * (x<<1);
|
||||||
return zcounter += zincr;
|
return zcounter += zincr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user