mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
make it more clear what's actually being done
This commit is contained in:
parent
fd650cf133
commit
60b28d846f
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user