mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +00:00
Matching the braketing style
This commit is contained in:
parent
903b7badc0
commit
ab85fba7e0
@ -196,8 +196,8 @@ namespace tracy
|
|||||||
|
|
||||||
const auto floored_manhatten_distance = double( in_multiples_of_2_times_sw*sw*2 ); //floor in terms of 2 * stripe width
|
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); //we transform back into y-is-down imgui space
|
const auto corrected_flipped_v0y = ( floored_manhatten_distance - x0 ); //the corrected (floored) y respects the position of the stripes
|
||||||
v0.y = window_width - corrected_flipped_v0y - double(inverted * sw);
|
v0.y = window_width - corrected_flipped_v0y - double( inverted*sw ); //transform back into y-is-down imgui space
|
||||||
}
|
}
|
||||||
|
|
||||||
for( int i=0; i<cnt; i++ )
|
for( int i=0; i<cnt; i++ )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user