Cosmetics.

This commit is contained in:
Bartosz Taudul 2021-03-27 13:01:39 +01:00
parent 02cb035768
commit ff5435ff67
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#define __TRACYIMGUI_HPP__
#ifdef _MSC_VER
# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data
# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data
#endif
#include <algorithm>
@ -193,7 +193,7 @@ namespace tracy
const auto manhatten_distance = x0 + flipped_v0y;
const auto in_multiples_of_2_times_sw = int( manhatten_distance / ( sw*2 ) );
const auto floored_manhatten_distance = double( in_multiples_of_2_times_sw*sw*2 ); //floor in terms of 2 * stripe width
const auto corrected_flipped_v0y = ( floored_manhatten_distance - x0 ); //the corrected (floored) y respects the position of the stripes

View File

@ -311,5 +311,4 @@ out:
return TokenColor::Default;
}
}