mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 23:01:39 +00:00
Reformat all the things!
This commit is contained in:
parent
d27e85e9d7
commit
40bb9974f2
179 changed files with 1888 additions and 991 deletions
|
@ -776,9 +776,9 @@ void Tev::Draw()
|
|||
// Based on that, choose the index such that points which are far away from the z-axis use the
|
||||
// 10th "k" value and such that central points use the first value.
|
||||
float floatindex = 9.f - std::abs(offset) * 9.f;
|
||||
floatindex = (floatindex < 0.f) ? 0.f : (floatindex > 9.f) ?
|
||||
9.f :
|
||||
floatindex; // TODO: This shouldn't be necessary!
|
||||
floatindex = (floatindex < 0.f) ?
|
||||
0.f :
|
||||
(floatindex > 9.f) ? 9.f : floatindex; // TODO: This shouldn't be necessary!
|
||||
|
||||
// Get the two closest integer indices, look up the corresponding samples
|
||||
const int indexlower = (int)floor(floatindex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue